[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3805) ldappasswd cannot change passwords when in slapd.conf: password-hash {CRYPT}



Full_Name: Pawel Wieleba
Version: 2.3.4
OS: FreeBSD 5.4
URL: http://www.iem.pw.edu.pl/~wielebap/ldap/openldap/2.3/password-hash/
Submission from: (NULL) (195.225.121.1)


Hi!
It is not possible to change password with "ldappasswd" tool when using
"{CRYPT}" password-hash:

srv% # cat /usr/local/etc/openldap/slapd.conf|grep password-
password-hash   {CRYPT}
password-crypt-salt-format      "$1$%.8s"

srv% ldappasswd  -x -D "uid=test,ou=users,dc=inter,dc=siec" -w oldpass -s
newpass
Result: Internal (implementation specific) error (80)
Additional info: password hash failed


There is _NO_ problem when using other password hashes, like {MD5}, {SMD5},
{SHA}, {SSHA} or {CLEARTEXT}.
Only {CRYPT} doesn't work, but I need it the most:-).

If you need further information let me know.

Best for you
Pawel Wieleba