Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

LDAP user authentication - Invalid Credentials

avatar
Expert Contributor

I am facing authenticating ldap user.

The following command results in: ldap_bind: Invalid credentials (49)

ldapsearch -x -H ldaps://my-ldap-server.net -b "ou=People,o=xx.com" "(uid=xx.xxx@xx.com)" -W

But without -W (without password), it is working fine and search the record.

1 ACCEPTED SOLUTION

avatar

You are specifying a bind password but no bind user. Try adding the -D parameter with your bind DN (see manpage for details).

View solution in original post

3 REPLIES 3

avatar
Master Mentor

avatar
New Member

sir i have also same error but not got exact solution ....please help me

javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]

avatar

You are specifying a bind password but no bind user. Try adding the -D parameter with your bind DN (see manpage for details).