always received Access-Reject using mysql
Bogi Aditya
bogi at imtelkom.ac.id
Sun Nov 27 16:54:47 CET 2011
dear Guru
need your help on solving my problem with Authentication.
I just install freeradius-server-2.1.10.tar.bz2 on FreeBSD 8.2
using MySQL 5.5 to store list of users.
after I complete the installation, I tried to test it :
# radtest usertest passtest localhost:1812 0 testing123
Sending Access-Request of id 180 to 127.0.0.1 port 1812
User-Name = "usertest"
User-Password = "passtest"
NAS-IP-Address = 10.1.1.28
NAS-Port = 0
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=180,
length=20
these are my table's entry :
mysql> select * from radcheck;
+----+----------+--------------------+----+----------+
| id | username | attribute | op | value |
+----+----------+--------------------+----+----------+
| 1 | usertest | Cleartext-Password | == | passtest |
+----+----------+--------------------+----+----------+
mysql> select * from radusergroup;
+----------+-----------+----------+
| username | groupname | priority |
+----------+-----------+----------+
| usertest | dynamic | 1 |
+----------+-----------+----------+
mysql> select * from radgroupreply;
+----+-----------+--------------------+----+---------------------+
| id | groupname | attribute | op | value |
+----+-----------+--------------------+----+---------------------+
| 1 | dynamic | Framed-Compression | = | Van-Jacobsen-TCP-IP |
| 2 | dynamic | Framed-Protocol | = | PPP |
| 3 | dynamic | Service-Type | = | Framed-User |
| 4 | dynamic | Framed-MTU | = | 1500 |
+----+-----------+--------------------+----+---------------------+
is there something wrong with my table's entry?
-------------------------------
Bogi Aditya
Sisfo - IMTelkom
Telkom Institute of Management
http://bogi.blog.imtelkom.ac.id
More information about the Freeradius-Users
mailing list