[Fedora-directory-users] Grabbing unix crypt of password

David Boreham david_list at boreham.org
Fri Jan 20 15:21:42 UTC 2006


Daniel Shackelford wrote:

> We have scripts that are currently looking at our Win2003 and grabbing 
> the user passwords via SFU.  This is in a Unix crypt format, and it is 
> then stuffed into the local passwd file and httpauth file on our HPUX 
> server.  We are attempting to move to FDS and it would be super nice 
> if we could just change a few line of our current scripts to get the 
> password crypts from there instead.
>
> Are my hopes too high?

Perhaps not. This is essentially exactly what the 'passsync' service for 
the FDS
Windows Sync feature does (except it sends the plaintext password over 
the wire,
SSL protected, and lets FDS do the crypting).

You could modify your existing sctipt (add a call to 'ldapmodify').

You might take a look at the passsync source code for some inspiration on
how to find the entry to modify in the DS, and so on.





More information about the Fedora-directory-users mailing list