Disabling Single - User Based SQL lookups.

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Thu May 17 12:19:48 CEST 2007


Alan DeKok wrote:
> Arran Cudbard-Bell wrote:
>> Just a little one, would be useful to be able to disable the individual
>> user lookup, and go straight to the group lookup... would save an SQL 
>> query ... (SQL queries being quite expensive).
> 
>   Have you tried setting the query to an empty string?

Yes, breaks it...

rlm_sql (sql): sql_set_user escaped user --> 'ac221'
rlm_sql (sql): Reserving sql socket id: 19
radius_xlat:  ''
rlm_sql (sql): Error generating query; rejecting user
rlm_sql (sql): Released sql socket id: 19

Though yes, Logic dictates that the default action is to skip the check
not bail out .. *sigh*
> 
>   Alan DeKok.
> --
>   http://deployingradius.com       - The web site of the book
>   http://deployingradius.com/blog/ - The blog
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list