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

userPassword hash


My slapd.conf is configured with the option password-hash {crypt}. When
I change a userPassword with ldappasswd, the value of the userPassword
attribute is correctly crypted. But when I use PHP interface, I change
the password with the generic php method : ldap_modify(), I've to crypt
the password with a PHP method before sent the modification to the LDAP
server. Why ? 

I thought then LDAP crypt itself the userPassword value if this value is
not crypted.

Any explanations ?

Thank you,

Raphaël Berghmans