Generating lmPassword and ntPassword values with openssl?

Gerald Carter jerry at samba.org
Fri Feb 8 06:13:11 GMT 2002


On Thu, 7 Feb 2002, Jon L.Gardner wrote:

> Generating a standard UNIX password hash with openssl is straightforward:
> 
> openssl passwd -crypt <plaintext_password>
> 
> Is there a way to do the same thing to generate the lmPassword and 
> ntPassword values to store in an LDAP server, so that Samba can 
> authenticate off of it?

I dunno about openssl, but I think I uploaded a source tarball named 
smbencrypt that would do this (based on some old NISgina code from Nigel 
Williams which was originally based off parts of Samba).









chau, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--





More information about the samba-technical mailing list