virtual server and clients from sql

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Mon Jul 7 18:40:56 CEST 2008


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

alan



More information about the Freeradius-Users mailing list