FreeRadius + MySQL - Crypt-Passwrd in radcheck table



   Hello people,

I am using freeradius-1.0.1-3.RHEL4.3 and freeradius-mysql-1.0.1-3.RHEL4.3 on a CentOS 4.4 server but I am sutcked into a problem. I have made my FreeRadius works great using MySQL but I could not make it uses Crypt-Password.

   Into radcheck table I have:

mysql> SELECT * FROM radcheck;
+----+----------+----------------+----+----------------------------------+
| id | UserName | Attribute      | op | Value                            |
+----+----------+----------------+----+----------------------------------+
|  1 | teste    | Crypt-Password | == | 42cbf4730aeac1d645324d4818104826 |
+----+----------+----------------+----+----------------------------------+
1 row in set (0.00 sec)

The password was encrypted using PHP MD5 command and should be 8872. But when I use a radtest command the respose of my Radius is:

Sun Feb 18 17:23:56 2007 : Auth: Login incorrect: [teste/8872] (from client localhost port 1812)

I made the same in debug mode and radius just not get the password. I think it is not testing the 8872 password to see if it matches de MD5 crypt. I tryed with "42cbf4730aeac1d645324d4818104826" as a password and it returned OK for the request. How can I do this work? I need that into MySQL table I have a crypted password (for security reasons) and I need that my clients can put a simple text password.

   Can someone give me a hit?

--
Att,

NATANIEL KLUG
nata@cnett.com.br


Cyber Nett - Internet Banda Larga
www.cnett.com.br
(42) 3635-2957
Rua Diogo Pinto, 1046, Centro
Laranjeiras do Sul - PR
Brasil - 85301-290




This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.