LDAP and Bind DN

sara2000 used Ask the Experts™
I have an LDAP question and I hope someone will shed light on it.
I have a service account (srvs) in the Users' OU in the listed tree OU=Users,OU=IT,OU=Lon,OU=UK,OU=Prod,DC=mydom,DC=local
When I put the following entry in the "Bind DN or UserName" CN=srvs,CN=Users,CN=IT,CN=Lon,CN=UK,CN=Prod,DC=mydom,DC=local and I get an error saying user name and password is not valid. Here the "srvs" is the service account in the admin group.
If I put CN=john,CN=Users,CN=mydom,CN=local , john is in the admin account group the same as srvs then I do not get an error.
Why I get the LDAP query is erroring out when it is long path? I am using Windows 2012  DC as the LDAP server.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2018
Distinguished Expert 2018
Because "OU" and "CN" aren't interchangeable.

Open in new window


Thank you oBda

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial