[ { "id": "5aed79ba2eda212c", "type": "comment", "name": "Recursive group membership check", "info": "Configure the AD config node, then replace the example user and group. The node checks direct and nested membership and returns the resolved membership path when available.\n\nConnection: choose LDAP/LDAPS (LDAPS default), enter Domain/DC and optional port. Enter bind credentials only in AD Config. TLS is not configurable through messages.", "x": 180, "y": 80, "wires": [] }, { "id": "740aa47712447cd5", "type": "inject", "name": "Check group membership", "props": [ { "p": "ad.user", "v": "JohnSmith", "vt": "str" }, { "p": "ad.group", "v": "GG_NodeRed_Admins", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "x": 190, "y": 190, "wires": [ [ "8ca1b8c5f628b9ca" ] ] }, { "id": "8ca1b8c5f628b9ca", "type": "ms-ad-is-user-member-of", "name": "", "configName": "da8d21298af90c4c", "baseDN": "", "userSearchField": "auto", "outputProperty": "payload", "x": 480, "y": 190, "wires": [ [ "0b5dc15410b8385e" ], [ "997654bcdf7a45cd" ] ], "customInputPaths": false }, { "id": "0b5dc15410b8385e", "type": "debug", "name": "Member", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 750, "y": 160, "wires": [] }, { "id": "997654bcdf7a45cd", "type": "debug", "name": "Not member / error", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 750, "y": 220, "wires": [] }, { "id": "da8d21298af90c4c", "type": "ms-ad-config", "name": "Example Active Directory - CONFIGURE ME", "baseDN": "DC=example,DC=com", "tlsEnabled": true, "rejectUnauthorized": true, "tlsServername": "", "caCert": "", "caCertPath": "", "protocol": "ldaps", "host": "dc.example.com", "port": "" } ]