MySQL works for radtest, not IRL - Users file always works

Huckle Berry huck.berry at gmail.com
Sun Aug 15 04:27:13 CEST 2010


I'm in a bit of an odd situation here, I have a freeradius 2.1.8 server
(installed from the ubuntu 10.04 repo) that I'm using in conjunction with a
DD-WRT v24-SP2 (on wrt54g v5) NAS. I've generated certs for two users
RadiusUser and RadiusSQL and installed both on a windows 7 ultimate box
along with the CA.

RadiusUser is in the Users file with a bare-bones configuration:
RadiusUser Cleartext-Password: "RadiusUser"

RadiusSQL is in a MySQL database with a similiar configuration:
SELECT * FROM radcheck;
+----+-----------+--------------------+----+-----------+
| id | username  | attribute          | op | value     |
+----+-----------+--------------------+----+-----------+
|  1 | RadiusSQL | Cleartext-Password | := | RadiusSQL |
+----+-----------+--------------------+----+-----------+

radtest for both users works on server, but from the windows 7 client only
RadiusUser can log in. After looking at RadiusSQL's debug, it seems the sql
module isn't ever consulted... Debugs for both users can be posted on
request.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100814/1e061247/attachment.html>


More information about the Freeradius-Users mailing list