- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
LDAP user authentication - Invalid Credentials
- Labels:
-
Apache Ambari
Created ‎01-20-2016 06:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See this http://stackoverflow.com/questions/15573108/ldap-bind-invalid-credentials-49
ldapsearch -x -W -D
Created ‎03-29-2017 07:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are specifying a bind password but no bind user. Try adding the -D parameter with your bind DN (see manpage for details).
