Diogo Teixeira wrote:
Explain me how to do this. Can you explain me please ? I not found anywhere tutorial that explain: "Howto freeradius + peap + DB with NT-Passwords !!!
There is no howto. Most people use systems like AD or Samba that automatically calculate the NT password.
For Use PEAP with NT-PASSWORD, the only thing that i can do is add new user in DB with this query :
INSERT INTO radcheck (username, attribute, op, value) VALUES ('NT','NT-Password', ':=', 'C6E4266FEBEBD6A8AAD3B435B51404EE');
That's the LM password for "tiger", not the NT password.
I don't kwow how can i generate NT-Passwords ! =/
$ smbencrypt tiger LM Hash NT Hash -------------------------------- -------------------------------- C6E4266FEBEBD6A8AAD3B435B51404EE 0B9957E8BED733E0350C703AC1CDA822 This program comes with the server. Alan DeKok.