[Samba] NT Hash algorithm
Andrew Bartlett
abartlet at pcug.org.au
Wed Feb 27 03:59:03 GMT 2002
Gerald Carter wrote:
>
> 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.
There is also a very handy Crypt::SmbHash Perl module. (Just a perl
version of the same thing)
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba
mailing list