Issue
-
What is the reason behind the following error which is thrown in the logs?
[LDAPAuth:198] Failed to bind to the LDAP server with userDN CN=VERMA BRIJESH KUMAR (MR.),OU=USERS,OU=RND,DC=DS,DC=INDIANOIL,DC=IN and password Me4Sharom@15012020
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1_] [Sanitized]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3154)
Environment
- Liferay DXP 7.0
Resolution
- Generally, the error line here "LDAP: error code 49 - 80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e" indicates that its invalid credentials. This error message is thrown when a valid username is supplied but an invalid password/credential is supplied. If this error is received, it will prevent most other errors from being displayed.
Additional Information
- Please note that the pointers provided in the resolution are based on generic scenarios. The resolutions may vary with different environments as well.