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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807573, 1 year ago
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3005)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2753)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2667)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2566)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2540)
at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2536)
at javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
at com.sun.directory.common.ssl.LdapContextUtils$3.run(LdapContextUtils.java:251)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

6 times, 2 months ago
9 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.