virtual server and clients from sql
Norbert Wegener
norbert.wegener at siemens.com
Mon Jul 7 20:54:33 CEST 2008
A.L.M.Buxey at lboro.ac.uk schrieb:
> Hi,
>
>
>> With the actual git/cvs I wanted to setup client based virtual Servers,
>> where the clients are stored in a mysql database.
>> I added a column "server" to the nas table and set it to the name of a
>> virtual server.
>>
>
> the logic is in rlm_sql.c alrady, all you need to do is
> update your nas_query so that it looks like eg
>
> SELECT id,nasname,shortname,type,secret,virtual_server FROM nas
>
>
> then it'll pull in the details from the DB
>
Thanks,
will this be in 2.0.6 by default?
Norbert Wegener
> alan
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080707/22b6b2d6/attachment.html>
More information about the Freeradius-Users
mailing list