How to tell freeradius of the encryption used in DB

2011-08-17 Thread det.explo...@yahoo.com
Hi, I am testing freeradius. I use dialup admin and mysql to add users, which is configured to store passwords in md5. The attribute is User-Password. Used radtest for testing, but seems radtest is only able to recognize cleartext password. How to tell freeradius that passwords are in md5?

Re: How to tell freeradius of the encryption used in DB

2011-08-17 Thread Fajar A. Nugraha
On Wed, Aug 17, 2011 at 8:50 PM, det.explo...@yahoo.com det.explo...@yahoo.com wrote: Hi, I am testing freeradius. I use dialup admin and mysql to add users, which is configured to store passwords in md5. The attribute is User-Password. Use MD5-Password attribute instead Used radtest for

Re: How to tell freeradius of the encryption used in DB

2011-08-17 Thread det.explo...@yahoo.com
Fajar thanks for the reply. I checked the freeradius attribute list, there is no md5-password. Should i need to add it? If yes how to add that attribute? http://freeradius.org/rfc/attributes.html I didn't touch freeradius config on the auth protocols. I suppose, by default freeradius is set to

Re: How to tell freeradius of the encryption used in DB

2011-08-17 Thread Fajar A. Nugraha
On Wed, Aug 17, 2011 at 10:00 PM, det.explo...@yahoo.com det.explo...@yahoo.com wrote: Fajar thanks for the reply. I checked the freeradius attribute list, there is no md5-password. Should i need to add it? If yes how to add that attribute? http://freeradius.org/rfc/attributes.html

Re: How to tell freeradius of the encryption used in DB

2011-08-17 Thread Det Det
Thanks fajar! It worked with MD5-Password. Is there a way to use User-Password attribute in MySQL and tell freeradius somewhere what encryption algo it is using? coz dialup admin by default will use User-Password when inserting this attribute in DB. Thanks!