Tying radius to mysql...
rktechie
rthornt at yahoo.com
Thu Oct 14 19:42:23 CEST 2010
Oh, funny how that works so much better when I follow the rules. Thanks so
much!
Tim Sylvester wrote:
>
>> 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
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
>
--
View this message in context: http://freeradius.1045715.n5.nabble.com/Tying-radius-to-mysql-tp3212438p3212521.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.
More information about the Freeradius-Users
mailing list