[Date Prev][Date Next]
crypt´ed passwords ?
i´m useing the current debian unstable slapd daeon.
in the config file i wrote:
so slapds should crypt the passwords, i thought.
i changed the password (via my php4-ldap core fragment:
$r=@ldap_modify($ds,"cn=" . $PHP_AUTH_USER . ",$dn",$entry);
but the passwort is stored in plaintext (search returns
the password without any changes, no crypt).
what did i do wrong ? am i supposed to store the password already
crypt´ed ? is there a code fragment for php to do ssha crypt ?
what crypt method is suggested if i´m programming in php ?