[Samba] NT Hash algorithm

Paul Reilly pareilly at tcd.ie
Fri Feb 22 11:59:58 GMT 2002


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.

Any pointers?

Paul






More information about the samba mailing list