Using EAP-PEAT as authentiction type. How to save None-cleartext password?

2011-09-02 Thread 2394263740
Hello,
 I'm using free radius server 2.1.11 on Linux Enterprise Server 6.1.
OS: Linux Enterprise Server 6.1
Radius: free radius server 2.1.11
Database: Mysql
  
 The users are using WIFI devices connect to the WIFI network. The 
authentiction type is being used is EAP-PEAP.
  
 Can you please give some advise, to save none-cleartext password in MySQL 
database radcheck table?
  
 Thanks!
  
 Tom-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Using EAP-PEAT as authentiction type. How to save None-cleartext password?

2011-09-02 Thread Arran Cudbard-Bell
EAP-PEAT, is that the Irish version of EAP-PEAP?

 Can you please give some advise, to save none-cleartext password in MySQL 
 database radcheck table? 

Well you have two choices Cleartext-Password or NT-Password. Those are the only 
two that will work with the MSCHAPv2 inner.

Just add the NT-Password attribute to radcheck with the := operator. Or you can 
add it as a reply item and copy it to the control list with

update control {
NT-Password := %{reply:NT-Password}
}

As for generating the hashes 
http://www.arsitech.com/cryptography/windows/password/

Or I think theres a utility included with samba for doing it. If you're using 
PHP I have a function I wrote ages ago to generate NT passwords to do a 
transparent conversion using our web login script. Let me know if it'd be 
useful and i'll dig it out.


-Arran

Arran Cudbard-Bell
a.cudba...@freeradius.org

RADIUS - Half the complexity of Diameter

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html