Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

LDAP user authentication - Invalid Credentials

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

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

New Contributor

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

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

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.