We help IT Professionals succeed at work.
Get Started

LDAP and Bind DN

sara2000 asked
Last Modified: 2019-12-26
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
Most Valuable Expert 2019
Most Valuable Expert 2018
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE