config files separation for each sites enabled

Alan Buxey A.L.M.Buxey at
Mon Jan 25 17:18:26 CET 2010


> I saw it was easy to separate clients files, using clients site-name
> {} , and including a sitename.client.conf.
> But as huntgroups and users files seems to be loaded globally before
> sites instanciation, I found no way to dedicate  huntgroup and users
> file to each server instance, as done previously for clients...
> Is there any way to achieve this without having to launch many radiusd
> in differents location ?

sure - just put a name descriptor in the relevant module file  eg

instead of 

files {

     userfile = blah/users


files sitename_1 {
     userfile = blah/sitename1

and the same can be done for preprocess.....

and then you simply call that module instead of the original one
within your virtual server 


More information about the Freeradius-Users mailing list