Generating NT MD4 hashes
Tonnesen Steve
tonnesen at cmsd.bc.ca
Sun May 23 17:19:06 GMT 1999
-----BEGIN PGP SIGNED MESSAGE-----
I'm working on a server administration system aimed at k12 school systems
(http://k12admin.cmsd.bc.ca/) and I'm starting to work on the smbpasswd
files. I need to be able to generate smbpasswd password hashes in a perl
script. Are there any tools available to do this currently?
Ideally, I'd like something that would let me run:
$p16=p16($plaintext);
$nt_p16=nt_p16($plaintext);
in a perl script.
These values will then be stored in a database on a central server and
copied to the smbpasswd files on the appropriate school servers as
required.
After further inspection, I might be able to replicate md4.c and smbhash()
as perl subroutines, but if it's been done before, it would sure save me
some headache.
Steve Tonnesen.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQCVAwUBN0g4jI2+iKf+FgzlAQEpPQP9HPFODwaN1rerdQy1kOY04QYQP4SA/fzI
yIY/zfbn/mpG8s72XbufpOZ2ePy8ftZL3dwJYijWN3qjci41GeCbNY4hW7i9dB2S
JeGolQJCNeacqJ+MExdLdlg3TssH3GXga/uDtsuVQDYxzMUf7ms76k7UVGRsNmOE
CcQws8wsm2c=
=h4jf
-----END PGP SIGNATURE-----
More information about the samba
mailing list