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

George Holbert gholbert at broadcom.com
Wed Oct 25 20:17:57 UTC 2006


Are you prefixing the password with the hash you're using to encrypt the 
password?
e.g.,
{crypt}
or
{ssha}


Jo De Troy wrote:
> Hello,
>
> I'm trying to modify the userPassword value from within a perl script
> using Perl::LDAP.
> I generate an encrypted pwd in perl and then write it to FedoraDS via
> ldap->modify
> The update seems successfull but when I query FedoraDS afterwards the
> string in userPassword is not the same as the one I generated. What
> exactly is happening in the background giving this result? I tried
> writing the same value to another attribute (eg mail) and then it is
> as expected.
> What's the best way to update the userPassword from within perl?
>
> Thanks again,
> Jo
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>






More information about the Fedora-directory-users mailing list