Tying radius to mysql...

Tim Sylvester tim.sylvester at networkradius.com
Thu Oct 14 19:30:57 CEST 2010


> I'm sure I am missing something simple and probably obvious.  Now that
> I have installed freeradius (2.1.9-1.fc13.i686) and imported the mysql
schema
> and populated it with a test user, I would like to know if there are some
> basic config instructions for telling freeradius to actually use the users
> from the db rather than the /etc/raddb/users file?
> ...

You forgot to uncomment the "sql" module in the authorize section of
raddb/sites-available/default.

> rad_recv: Access-Request packet from host 127.0.0.1 port 41218, id=66,
> length=60
>         User-Name = "testing1"
>         User-Password = "guest"
>         NAS-IP-Address = 127.0.0.1
>         NAS-Port = 0
> +- entering group authorize {...}
> ++[preprocess] returns ok
> ++[chap] returns noop
> ++[mschap] returns noop
> [suffix] No '@' in User-Name = "testing1", looking up realm NULL
> [suffix] No such realm "NULL"
> ++[suffix] returns noop
> [eap] No EAP-Message, not doing EAP
> ++[eap] returns noop
> ++[unix] returns notfound
> ++[files] returns noop        <<<<<<<<<<<<< In the default configuration,
the sql module is after the files module and
> ++[expiration] returns noop   <<<<<<<<<<<<< before expiration module in
the authorize section of raddb/sites-available/default.
> ++[logintime] returns noop    <<<<<<<<<<<<< It did not show up in the
debug output so, it is still commented out.
> [pap] WARNING! No "known good" password found for the user.

Tim





More information about the Freeradius-Users mailing list