Inserting NT-Passwords in MySQL database

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Sun Mar 18 21:41:10 CET 2012



Hi,

i dont think your SQL is correct - NT hash is required in the insert. you can test
this manually by using the 'smbencrypt' tool eg


smbencrypt password


will print out 2 values, an LM has and an NT hash eg

LM Hash                                 NT Hash
--------------------------------        --------------------------------
E52CAC67419A9A224A3B108F3FA6CB6D        8846F7EAEE8FB117AD06BDD830B7586C


stick the NT hash version into your SQL table for testing...


alan


More information about the Freeradius-Users mailing list