Labels

Sunday, January 1, 2012

LDAP Authorization failure - Invalid credentials provided

LDAP Authorization fails if user CN contains a \ (Slosh) Character

SCENARIO:

This will occur if your System Administrator has created user account with a comma character after first name.
 Example: If you create a user with
First Name: surname,
Last Name: name
Display Name: surname, name

Your CN (Common Name) will look like as below
 CN=surname\, name,OU=users,OU=mum,DC=test,DC=com

 
Note: This way of account creation is for ease of sorting as your name can be easily sorted with your Surname rather name first name.
  
RESOLUTION:

Resolution was far more easier compared to earlier LDAP related issues I have faced, let me explain in a single line.

“”Just add one more slosh after the existing ‘\’slosh””

Now the CN value will look like as below.
CN=surname\\, name,OU=users,OU=mum,DC=test,DC=com

You can verify the same by either using LDP.EXE of else you can try directly with Application.

 
:-) Keep the smile always, live present like anything as tomorrow never comes :-)

No comments:

Post a Comment