- From a browser, go to
http://localhost:8357
to launch the Connector Admin Console on the AD/LDAP Connector server. - Click Profile Mapper to open a code editor screen which maps attributes from a source directory service (represented by the
raw_data
variable) to a variable that gets returned to populate the Auth0 user profile. The first part of the function instantiates a variable calledprofile
and has a mapping for the core portion of the Auth0 User Profile. Additional attributes can be set below that using syntax in the form:profile['department'] = raw_data['companydept'];
In this example,department
is the name of the attribute in the Auth0 user profile andcompanydept
is the name of the attribute in the source directory service (such as AD). - Click Save when you are done modifying the LDAP configuration.
- After the Connector runs the tests, ensure that all the tests are green.
Test | Description | Troubleshoot |
---|---|---|
Test 1 | Attempts to establish a TCP connection to the LDAP server and port specified. | Check basic network connectivity and firewall settings that might prevent such a connection. |
Test 2 | Attempts to perform an LDAP bind on the LDAP server and port specified and with the username and password provided. | Check the LDAP connection string, search path, username and password. |
Test 3 | Attempts to perform an LDAP search against the directory to check the privileges of the specified username. | Check the privileges of the username in the target directory. |
Test 4 | Attempts to establish a connection to the Auth0 server. | Check network connectivity and firewall settings that might prevent such a connection. |