Changing crypted LDAP passwd
| From: | Jan Roehrich | Date: | Sun, 30 Mar 2003 11:24:13 +0000 |
| Subject: | Changing crypted LDAP passwd | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26717@lists.php.net to get a copy of this message | ||
I'm currently trying to change a crypted passwd within an openldap server.
Therefor I'm using ldap_modify().
But the problem is that ldap doesn't crypt the password itself, even if I
write {crypt} in front of it. And crypting the password with crypt() doesn't
work because I don't know the second parameter of crypt().
Is there a way of crypting the password automatically or what has the
second crypt() parameter look like?
Regards Jan