[ { "id": "ca05facd1524c710", "type": "comment", "name": "Object lookup - user", "info": "Configure the **Example Active Directory - CONFIGURE ME** config node first.\n\nThe Inject node searches for `JohnSmith`. Replace that value with a user from your AD. This example also requests account status and a few additional attributes.\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": "bce6e39795980dcb", "type": "inject", "name": "Lookup JohnSmith", "props": [ { "p": "ad.searchValue", "v": "JohnSmith", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "x": 170, "y": 180, "wires": [ [ "38f6bffeedd342cd" ] ] }, { "id": "38f6bffeedd342cd", "type": "ms-ad-object-lookup", "name": "", "configName": "594644149965a8e8", "baseDN": "", "objectType": "user", "searchField": "sAMAccountName", "customSearchAttribute": "", "outputProperty": "payload", "additionalAttributes": "department, telephoneNumber", "returnFirstOnly": true, "requireExactlyOne": false, "setAdDn": false, "returnAccountStatus": true, "returnPasswordExpiration": false, "passwordExpirationWarningDays": 14, "returnManager": false, "managerAttributes": "displayName, mail, sAMAccountName", "returnDirectReports": false, "directReportAttributes": "displayName, mail, sAMAccountName, department", "returnStaleStatus": false, "staleThresholdDays": 90, "returnSummary": false, "returnRaw": false, "groupDetails": "groupOnly", "memberFilter": "all", "returnNestedGroups": false, "returnEffectiveMembers": false, "returnMemberCount": false, "returnEmptyGroupStatus": false, "returnGroupNestingDepth": false, "groupNestingDepthLimit": 25, "x": 430, "y": 180, "wires": [ [ "4676ddd2c6711b5d" ] ], "customInputPaths": false }, { "id": "4676ddd2c6711b5d", "type": "debug", "name": "Lookup result", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 690, "y": 180, "wires": [] }, { "id": "594644149965a8e8", "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": "" } ]