[ { "id": "61e301b6ef5bc614", "type": "comment", "name": "Raw LDAP query", "info": "Configure the AD config node first. This expert example finds user objects below the configured Base DN and requests a small attribute set. Adjust the filter and attributes before using it in production.\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": "9b1e4b053861be5c", "type": "inject", "name": "Query AD users", "props": [ { "p": "ad.query", "v": "(&(objectCategory=person)(objectClass=user))", "vt": "str" }, { "p": "ad.scope", "v": "sub", "vt": "str" }, { "p": "ad.attributes", "v": "[\"displayName\",\"mail\",\"department\"]", "vt": "json" }, { "p": "ad.paged", "v": "true", "vt": "bool" }, { "p": "ad.pageSize", "v": "500", "vt": "num" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "x": 190, "y": 190, "wires": [ [ "921c3f732b29300d" ] ] }, { "id": "921c3f732b29300d", "type": "ms-ad-ldap-query", "name": "", "configName": "9d092dea6076b946", "baseDN": "", "outputProperty": "payload", "attributes": "", "scope": "sub", "sizeLimit": "", "timeLimit": "", "paged": true, "pageSize": "1000", "x": 450, "y": 190, "wires": [ [ "0b409abc0dbbcfcf" ] ], "customInputPaths": false }, { "id": "0b409abc0dbbcfcf", "type": "debug", "name": "LDAP results", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 700, "y": 190, "wires": [] }, { "id": "9d092dea6076b946", "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": "" } ]