Created 01-20-2016 06:19 PM
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.
Created 01-21-2016 07:05 PM
You are specifying a bind password but no bind user. Try adding the -D parameter with your bind DN (see manpage for details).
Created 01-20-2016 06:44 PM
See this http://stackoverflow.com/questions/15573108/ldap-bind-invalid-credentials-49
ldapsearch -x -W -D
Created 03-29-2017 07:55 AM
sir i have also same error but not got exact solution ....please help me
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
Created 01-21-2016 07:05 PM
You are specifying a bind password but no bind user. Try adding the -D parameter with your bind DN (see manpage for details).