I have configure attribute ds-cfg-password-change-requires-current-password at true and I change password with command: ./ldappasswordmodify -p 389 --authzID uid=test,dc=example,dc=it --currentPassword test123 --newPassword test456
But if I don’t remember old password, how can I force the password change? what is the correct command?
If you must change the password with the old password and you don’t know the old password, then the user cannot change the password.
The only option is for the Administrator to RESET the password (i.e. force a change without the old one).