Creating an NT-Password value with python

Alan DeKok aland at deployingradius.com
Sat Nov 21 19:08:43 CET 2009


jon michaels wrote:
> Does anyone know a tool i can use to create the right type of
> NT-Password hash expected by radius?

  It's an MD4 hash of the password, written as a 32-character hex string.

  That's it.

  Using the *binary* form of the MD4 hash is wrong.  There are embedded
NULs, CRs, LFs, etc. that cause the SQL DB stomach pains.

  Use the hex version of the password:

	NT-Password := 0x0102030405060708...

  Alan DeKok.



More information about the Freeradius-Users mailing list