Generating lmPassword and ntPassword values with openssl?

David Bear David.Bear at asu.edu
Fri Feb 8 09:13:03 GMT 2002


On Fri, 8 Feb 2002, Gerald Carter wrote:
> From: Gerald Carter <jerry at samba.org>
> To: Jon L.Gardner <jon at food.tamu.edu>
> 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).

well, couldn't you do smbpasswd -a userid then pull the hashes out of the
smbpasswd file?


-- 
David Bear
College of Public Programs/ASU
480-965-8257
...the way is like water, going where nobody wants it to go





More information about the samba-technical mailing list