Unable to login to Operations Manager through LDAP
search cancel

Unable to login to Operations Manager through LDAP

book

Article ID: 293750

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

LDAP integration is configured on the Operations Manager (Ops Manager) with a "LDAP Username" and "LDAP Password". If these credentials are no longer valid, then users can no longer connect to the Ops Manager UI.

When this happens, UAA logs on the Ops Manager show LDAP errors similar to the following:

[2021-08-30 07:09:40.281] uaa - 15459 [http-nio-127.0.0.1-8080-exec-8] .... ERROR --- UsernamePasswordAuthenticationFilter: An internal error occurred while trying to authenticate the user.
org.springframework.security.authentication.InternalAuthenticationServiceException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580 ]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09044E, comment: AcceptSecurityContext error, data 52e, v2580 ]
        at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:206) ~[spring-security-ldap-5.1.6.RELEASE.jar:5.1.6.RELEASE]


The "data" code varies depending on the exact situation.

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Resolution

LDAP error code 49 (LDAP_INVALID_CREDENTIALS) indicates an authentication failure. It occurs when the directory server rejects a bind request because the provided credentials—such as the Distinguished Name (DN), username, or password—are incorrect or invalid.

In order to resolve the issue, take the appropriate action corresponding to the "data" code on LDAP side.

As temporary workaround, Operations Manager can be set to Rescue Mode.