oc login fails with 500 internal server error for LDAP users
Issue
- How to modify the
bindPassword
for the LDAP configuration. -
The
oc login
command 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-openshift
log shownAuthenticationError
with the message:LDAP Result Code 49 "Invalid Credentials"
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.