[Fedora-directory-users] Replace userPassword using crypt()

Benny Chee chee.benny at gmail.com
Fri Jan 11 10:39:49 UTC 2008


Hi,
  I m writing a script to synchronize my user's password inside LDAP with a
unix passwd file. Is there a way to insert the crypt passwd inside the unix
passwd file directly into LDAP using ldapmodify userPassword:
{crypt}"whatever appears inside /etc/passwd" ?



dn:uid=roger,ou=abc.com,dc=foo,dc=com
givenName: rico
objectClass: top
                  person
                  organizationalPerson
                  inetorgperson
              sn: rico
              cn: rico
             uid: roger
    userPassword: {crypt}HU1bbqwvbXJUY

--
benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20080111/2c36875b/attachment.htm>


More information about the Fedora-directory-users mailing list