[Fedora-directory-users]modify userPassword via perl-ldap?

Jo De Troy jo.de.troy at gmail.com
Wed Oct 25 20:56:26 UTC 2006


Hello,

thanks for all the info.
I've tried adding {crypt} in front of the password but now I get
invalid syntax for userPassword.

Here's what exactly I do, it must be something stupid ...

$password = "{crypt}".$hashedpwd;

$mesg=$ldap->modify($dn,
                        changes => [
                        replace => [
                                'userPassword' =>  [ $password ]
                               ]] );



Thanks again,
Jo




More information about the 389-users mailing list