virtual server and clients from sql

Norbert Wegener norbert.wegener at siemens.com
Tue Jul 8 10:10:22 CEST 2008


A.L.M.Buxey at lboro.ac.uk wrote:
> Hi,
>
>   
>> Modified nas_query:
>>        {"nas_query", PW_TYPE_STRING_PTR,
>>         offsetof(SQL_CONFIG,nas_query), NULL, "SELECT 
>> id,nasname,shortname,type,secret,server FROM nas"},
>> rebuild the server.
>>     
>
> huh? thats the default query in the code - if you
> edit sql.conf and modify nas_query in the config
> it will do the required task.
>   
Correct, thanks. I have been confused by the nas_query in rlm_sql.c
Norbert Wegener

> alan
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>   




More information about the Freeradius-Users mailing list