Hi people,<br><br>I'm Portuguese student !<br><br>I have a big problem to solve.<br><br>I have my freeradius, thats authenticates users by mysql database.<br><br>I have passwords encrypted with MD5, but when i test, the Login is always Incorrect !<br>
<br>If password is clear, the freeradius works OK !<br><br>In the attachment i put my config files.<br><br>My only query to create "new user" is: <br><br><b>INSERT INTO radcheck (username, attribute, op, value) VALUES ('5','MD5-Password', '==', MD5('teste'));</b><br>
<br>I have create many users, in different ways ! please look:<br><br>mysql> SELECT id,UserName,Attribute,Value,op FROM radcheck;<br>+----+----------+----------------+----------------------------------+----+<br>| id | UserName | Attribute | Value | op |<br>
+----+----------+----------------+----------------------------------+----+<br>| 1 | teste | Password | teste | == | <br>| 2 | 1 | Password | 698dc19d489c4e4db73e28a713eab07b | == | <br>
| 3 | 2 | Password | 698dc19d489c4e4db73e28a713eab07b | == | <br>| 4 | 3 | User-Password | 698dc19d489c4e4db73e28a713eab07b | == | <br>| 5 | 4 | Crypt-Password | 698dc19d489c4e4db73e28a713eab07b | == | <br>
| 6 | 5 | MD5-Password | 698dc19d489c4e4db73e28a713eab07b | == | <br>+----+----------+----------------+----------------------------------+----+<br><br>I have read, many many times the "man rlm_pap" but i don't know where i put the headers (i.e {md5} {clear} etc...) !!!<br>
<br>please help me to solve this big truble !!! =/<br><br>I need this to put my freeradius authenticate users, and the passwords in Mysql DB have to be encrypted !!<br><br>Sorry for my poor english ! =/<br><br>Big thks<br>
<br>Regards,<br><br>Diogo Teixeira<br>