[LDAP] How to Change Password for Registered Entries (ldappasswd Command)
I’ll introduce how to change passwords in LDAP.
Use the ldappasswd command to change passwords.
After entering the following command, input the password for cn=Manager and the new password/password confirmation for uid=testuser from the prompt.
ldappasswd -x -h localhost -D 'cn=Manager,dc=private,dc=co,dc=jp' -S -W \\
"uid=testuser,dc=private,dc=co,dc=jp"
That’s all from the Gemba regarding LDAP password changes.
【References】
・[OpenLDAP] 登録されているエントリのパスワードを変更する(ldappasswd) - Life with IT