LDAP integration error at LDAP OU definitions testing [LDAP: error code 1 - 000020D6: SvcErr: DSID-0310081B, problem 5012 (DIR_ERROR), data 0 ]

vemulavamsi
Mega Contributor

Hi Everyone,

I have integrated servicenow with LDAP successfully. But after test successful, I went to LDAP OU Definitions and click the test connection, at that time for both users and groups I am getting this error: [LDAP: error code 1 - 000020D6: SvcErr: DSID-0310081B, problem 5012 (DIR_ERROR), data 0 ]

Can any one help me in this regard, why I am getting this error and how to resolve this error.

Thanks & Regards,

Vamshi Krishna

1 ACCEPTED SOLUTION

Simon46
ServiceNow Employee
ServiceNow Employee

Hello Vamshi,



The error is related to the base DN which is not complete. Can you please verify that your "Starting search directory" is complete.



ie. If your domain was "example.com", then your base DN (Starting search directory) should be "dc=example,dc=com".



Error Performing LDAP Search Filter Due to Incomplete Base DN - Atlassian Documentation



Kind regards,


Simon Liang


View solution in original post

8 REPLIES 8

vemulavamsi
Mega Contributor

Hi All,



Here One more issue I am facing, My test connections succeed. But I unable to load the users and groups into the sys_user and sys_user_group tables using transform maps. When I am browsing the Users LDAP OU Definition and Group LDAP OU Definition, it is showing all the groups and users which are available in my Active Directory. But while loading it is failing, I have mapped the fields manually, but still 0 records are loading. It is not giving any error, but after loading it is showing loading success with 0 records.



Can anyone help me in this regard.



Thanks & Regards,


Vamshi Krishna.


Simon46
ServiceNow Employee
ServiceNow Employee

Hello Vamshi,



For your OU Definition, what values did you put for "RDN" and "Filter".



Please note you do not need to put the base DN into the "RDN".



ie. if your full DN is "CN=Users,DC=example,DC=com", then the "RND" only needs to be "CN=Users".



Kind regards,


Simon Liang


Hi Simon,



Thank you for your help. It is working fine now.


Hey there, I'm having the same issue. What did you do to resolve it?