On Mon, 2005-02-07 at 17:31 -0800, David Busby wrote: > I'm looking at the NTLM hash, I need to make my own. > I was going to look at somehow using libsmb or something but don't > really know how to. Can I do this in perl? I can make Unicode scalars > and send those to md4_hex() to get the output, but I cannot get > something to match what shows up in the /etc/samba/private/smbpasswd > file. Ideas? Currently I try this:
The password is in UCS2-LE before the MD4, but it might be easiest to use the Crypt::SmbHash perl module. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net
signature.asc
Description: This is a digitally signed message part
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
