oc login fails with 500 internal server error for LDAP users
Issue
- How to modify the
bindPasswordfor the LDAP configuration. -
The
oc logincommand fails with 500 internal server error while using LDAP as identity provider:$ oc login -u ocp-user Authentication required for https://api.example.com:6443 (openshift) Username: ocp-user Password: Error from server (InternalError): Internal error occurred: unexpected response: 500 -
The
oauth-openshiftlog shownAuthenticationErrorwith the message:LDAP Result Code 49 "Invalid Credentials" - In the OpenShift web console, the message "
An authentication error occurred" is shown when trying to login using LDAP.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
- LDAP
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.