
我似乎遺漏了一些東西,我已通過 LDAP 作為用戶 cent 成功登錄,但是我無法更改用戶“cent”(我)的密碼:
[cent@elasticmaster2 ~]$ ldappasswd -H ldap://elasticmaster1.kartikv.com -x -D "cn=cent,ou=Group,dc=kartikv,dc=com" -W -A -S
Old password:
Re-enter old password:
New password:
Re-enter new password:
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
請指教
答案1
任何一個
- 您輸錯了密碼,或者
您的 OpenLDAP 設定錯誤。應該有一個類似這樣的條目:
access to attrs=userPassword by group/groupOfUniqueNames/uniqueMember="<your LDAP admin group>" write by anonymous auth by self write by * none