Re: virtual server and clients from sql



A.L.M.Buxey@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
  



This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.