virtual server and clients from sql

nf-vale nf-vale at critical-links.com
Mon Jul 7 21:58:27 CEST 2008


Should it be "SELECT id, nasname, shortname, type, secret,
virtual_server FROM nas"

or

"SELECT id, nasname, shortname, type, secret, server FROM nas"


Seg, 2008-07-07 às 20:54 +0200, Norbert Wegener escreveu:
> 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
> >   
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list