How to Authenticate Mysql Users whit freeradius editing theusersfile
tnt at kalik.net
tnt at kalik.net
Fri Feb 20 15:12:25 CET 2009
>i didn't force any authentication, I left the users file by default, when i
>tried to login i got this:
>
..
>++[files] returns noop
OK. Files are empty now. But ...
> expand: %{User-Name} -> juanpal
>rlm_sql (sql): sql_set_user escaped user --> 'juanpal'
>rlm_sql (sql): Reserving sql socket id: 1
> expand: SELECT id, UserName, Attribute, Value, op FROM
>radcheck WHERE Username = '%{SQL-User-Name}' ORDER BY id
>-> SELECT id, UserName, Attribute, Value, op FROM
>radcheck WHERE Username = 'juanpal' ORDER BY id
>rlm_sql (sql): User found in radcheck table
.. this should be the password. And ...
..
>++[sql] returns ok
>auth: No authenticate method (Auth-Type) configuration found for the
>request: Rejecting the user
>auth: Failed to validate the user.
.. no pap module. Why did you remove the pap from authorize? Put it back.
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list