LDAP connection binding error:

mdash
Giga Guru

Hi, 

I am getting this error while trying to connect LDAP.

"ldaperr: dsid-0c0907c2 comment: In order to perform this operation a successful bind must be completed on the connection."

Can anyone help? Is this something that needs to be done from ServiceNow side or Active Directory?

Thanks.

10 REPLIES 10

Shekhar Deshing
Mega Expert

Please verify the Domain Controller Name properly added where you connecting the LDAP Server.

Starting Search Directory (DC Name) please verify.

find_real_file.png

Shekhar Deshing
Mega Expert

Please update the LDAP Logs in details 

Thanks

Shekhar Deshing
Mega Expert

You can follow this below Link for resolution it seems like same issue.

https://community.servicenow.com/community?id=community_question&sys_id=a3344b29dbd8dbc01dcaf3231f96...

Thanks,

Hi Shekhar, 

Thanks for the link. But my issue not related to Test Connection. It is working fine. When I am trying to query from AD, I am getting error that ldaperr: dsid-0c0907c2 comment: In order to perform this operation a successful bind must be completed on the connection.

 

Also, my Starting Search Directory is : DC=<name>,DC=com,DC=au

Try to Run the ldapsearch command with the syntax from AD configured (Windows or Linux Side)

ldapsearch -h exampleserver.internal.customer.net -V -b "OU=Users,OU=Domain,DC=intern,DC=domain,DC=net" -D "ldapbind" -w "password"

Hope this will help you.