how to refer to default virual server via dynamic clients sql lookup

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Mon Aug 15 15:14:09 CEST 2011


Hi,

> 2 things doesn't fit. secret and FreeRADIUS-Client-Virtual-Server = 
> "something"

umm, yes, its an example to work from. you either use the default
static entries in update control - in which case you need to modify
the secret and server - after all, WE dont know what your NAS shared
secret or virtual-server is going to be called(!)   OR you use the
SQL version - edited as required too.

> >> No such virtual server ""
> >> } # server

did you GIVE your default server a name?  dont.   if you just leave it
as supplied, it will be used. if you edit it and put eg

server default {


blah blah 

}


then it gets a name...and will therefore not be used if SQL is not a set value.

however,  best practice says dont use unknowns in the SQL table -  eg ensure that the
default value for that column is not NULL (which is will be) but is eg 'default' instead.

and name all your virtual servers :-)


alan



More information about the Freeradius-Users mailing list