Producing LM/NT Hashes

Luke Kenneth Casson Leighton lkcl at
Fri Jun 19 19:09:28 GMT 1998

look at nt_lm_owf_gen() in the latest version of smbencrypt.c.  also,
refer to the CIFS documentation on microsoft's ftp site.

good luck!


On Sat, 20 Jun 1998, Andrew Perrin - Demography wrote:

> Greetings Samba gurus-
> We've been banging our heads against this for three days now, and have
> decided it's time to ask the experts.
> Basically, we're in need of a tool that will take as input a cleartext
> password and produce, as output, the LM and NT hashes for an smbpasswd
> file.  This would be used in conjunction with some specialized scripts for
> password changing on our network.  We've been hacking around in the
> smbpasswd source with no luck whatsoever -- we just keep getting what
> looks like garbage on the output when we try to use what seem like the
> right functions in our code.
> Any advice?
> Many thanks!
> ---------------------------------------------------------------------
> Andrew J. Perrin - aperrin at - NT/Unix Admin/Support
> Department of Demography    -    University of California at Berkeley
> 2232 Piedmont Avenue #2120  -    Berkeley, California, 94720-2120 USA
> --------------------------SEIU1199

More information about the samba-technical mailing list