Translated message

A translation of this page exists in English.

oc login 失败并显示 LDAP 用户的 500 内部服务器错误

Solution In Progress - Updated -

Issue

  • 如何为 LDAP 配置修改 bindPassword
  • 在使用 LDAP 作为身份提供者时,oc login 命令失败并显示 500 内部服务器错误:

    $ 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
    
  • oauth-openshift 日志显示 AuthenticationError 消息:

    LDAP Result Code 49 "Invalid Credentials"
    
  • 在 OpenShift Web 控制台中,在尝试使用 LDAP 登录时显示消息 "An authentication error occurred" 。

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content