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*


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值