[ { "id": "3951e661ea38c060", "type": "comment", "name": "Authenticate user", "info": "Configure the **Example Active Directory - CONFIGURE ME** config node first.\n\nEdit the Inject node and replace the example username and password. **Do not store real production passwords in an Inject node.** For production flows, supply credentials from an appropriate secure source. The Authenticate user node removes the password from the outgoing message.\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": "900f1bba8ab16936", "type": "inject", "name": "Authenticate example user", "props": [ { "p": "ad.username", "v": "john.smith@example.com", "vt": "str" }, { "p": "ad.password", "v": "REPLACE_ME", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "x": 190, "y": 190, "wires": [ [ "0517543398fd3c46" ] ] }, { "id": "0517543398fd3c46", "type": "ms-ad-authenticate-user", "name": "", "configName": "ed44727befde1fda", "baseDN": "", "outputProperty": "payload", "requiredGroup": "", "additionalAttributes": "displayName, mail, department", "x": 470, "y": 190, "wires": [ [ "8f9008f9d7060b7e" ], [ "f9228617e4aca7cb" ] ], "customInputPaths": false }, { "id": "8f9008f9d7060b7e", "type": "debug", "name": "Authenticated / authorized", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 760, "y": 160, "wires": [] }, { "id": "f9228617e4aca7cb", "type": "debug", "name": "Failed / not authorized", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 760, "y": 220, "wires": [] }, { "id": "ed44727befde1fda", "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": "" } ]