logo

NJP

The Power Of LDAP Integration

Import · Aug 02, 2024 · article

LDAP Servers Supported by ServiceNow

.Microsoft Active Directory.Novell.Domino

.Open LDAP

How to Set Up and Perform LDAP Integration in ServiceNow

LDAP integration uses a read-only connection that never writes to the LDAP directory/server. The integration's sole purpose is to query for information and update the database accordingly.

1. Search for LDAP in Application Navigator and create a new server:

-For "Type of LDAP Server," leave it as Active Directory (or choose "other" if working with a different server).-For "Server Name," enter a name (e.g., TestLDAPIntegration).-For the server URL, use a free LDAP test server found online (e.g., forumsys.com).-Paste the server URL from the free test server into ServiceNow.

-For "Starting Search Directory," indicate where ServiceNow should begin its search for users and groups.

2. Submit the form:

-You will be taken to a different record containing the information you filled out.

-Provide a Login Distinguished Name and Login Password to allow ServiceNow to access the server/directory. You can find these details on the free test server website.

-Save and submit the form.

3. Verify the connection:

-A message should display indicating that the connection has been successful.-In the related list under LDAP OU Definitions, click "Users."

-Remove the out-of-the-box (OOB) value displayed in the filter field and replace it with the specific data you are querying (e.g., users with names starting with "e").

-Click the 'Test connection' related link to secure connection and the 'Browse' related link to validate and check if the test worked.

4. Import and map data:

-Now that you have fetched the desired user data, populate the data into your ServiceNow database on the sys_user table.-Under LDAP OU Definition > Users, click on the data included in Data Source to access the import set.

-Click "Load All Records."

-Create a transform map, name it, set the target table to 'sys_user', and automap fields.

-Use the mapping assist to map fields (e.g., UID to UserID).

-Save and transform the data.

-Verify that the users have been populated successfully in the user table.

Congratulations! You have been able to successfully perform LDAP integration on your ServiceNow instance.

LDAP integration is a powerful feature that streamlines user management and authentication in ServiceNow, making it easier to maintain consistency and security across your network.

Here are some additional links + documentation to help you sharpen your understanding of LDAP Integration:

•What is ServiceNow Integration:

https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/success/enablement/in...

•ServiceNow LDAP: https://docs.servicenow.com/bundle/vancouver-platform-security/page/integrate/ldap/concept/c_LDAPInt...

•Understanding ServiceNow LDAP :

https://docs.servicenow.com/bundle/vancouver-platform-security/page/integrate/ldap/reference/r_LDAPI...

•LDAP Test Servers: https://www.google.com/search?q=ldap+test+server&ie=UTF-8&oe=UTF-8&hl=en-us&client=safari

•Configure LDAP in ServiceNow: https://youtu.be/e4c0MgJzwu4?si=GN70OLjLRKIDzvxG

View original source

https://www.servicenow.com/community/developer-blog/the-power-of-ldap-integration/ba-p/3007916