virtual servers => 2 different user files

George Koulyabin jumbo at vinf.ru
Tue Aug 25 09:08:14 CEST 2009


Hello

On Tue, Aug 25, 2009 at 08:29:49AM +0200, kisteorg google wrote:
> Hello list,
> 
> I would like to use one freeradius for 2 different NAS-groups. Therefore
> I need two different users files, one for each instance. I tried to make
> the module configuration per virtual server, which seems not to be working.
> 
> Does anybody has a trick to get this working?
> 

	You can try to add named files {} section into modules/files configuration.
For example
files files-auth1 {
...
}

files files-auth2 {
...
}

files files-acct {
...
}

And You can use each module in authorize or preacct sections. For example
server auth1 {
 authorize {
	...
	files-auth1
	...
 }
}
server auth2 {
 authorize {
	...
	files-auth2
	...
 }
}
server acct {
 preacct {
	...
	files-acct
	...
 }
}



More information about the Freeradius-Users mailing list