[Samba] NT Hash algorithm

Gerald Carter jerry at samba.org
Mon Feb 25 06:49:03 GMT 2002

On Fri, 22 Feb 2002, Paul Reilly wrote:

> Hi,
> I need to maintain a smbpasswd file by hand. This means being able to
> encode a plain text password in to the NT Hash, and inserting this in to
> the required field in smbpasswd. I was looking at the code in smbpasswd
> with the idea of splitting out the code to do this. Has anyone already
> done this?  Basically I want a program I can give a plain text password to
> and get back the NT hash encrypted verion of what the password
> was.

Look for smbencrypt on ftp.samba.org:/pub/samba/contrib
or something to that affect.

cheers, 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 mailing list