LDAP报错:javax.naming.AuthenticationException: [LDAP: error codelid Credentials]

ambari-server sync-ldap --all


报错:

Syncing all...ERROR: Exiting with exit code 1. 
REASON: Caught exception running LDAP sync. [LDAP: error code 49 - Invalid Cr; nested exception is javax.naming.AuthenticationException: [LDAP: error codelid Credentials]


原因:

The DN path or password which you have specified for the administrator is invalid. 原因:DN路径或管理员密码,你必须指定为无效。 Any of the below will result in this error:任何下文将导致此错误:

  • Pointed to non-user DN指出,非用户的DN
  • Pointed to a non-existent user, but in existing DN指出了一个不存在的用户,但在现有的DN
  • Pointed to non existent DN指出不存在的DN
  • Pointed to an existing user, but non existing DN指出,现有的用户,但现有的DN非
  • Pointed to an incorrect admin DN, uid instead of cn指出,一个不正确的管理员的DN,而不是架CN的UID
  • Pointed to a non administrator user指着一个非管理员用户
  • Pointed to a valid admin but password is incorrect指出了一个有效的管理员密码是不正确的

解决:

ambari-server setup-ldap

根据LDAP配置,输入正确的参数Manager DN*


你可能感兴趣的:(LDAP)