Antw: Re: How many NAS kann radius take?

Phil Mayers p.mayers at imperial.ac.uk
Thu Feb 20 14:32:25 CET 2014


On 20/02/14 13:05, Anja Ruckdaeschel wrote:
> Did the change with policies and default and inner-tunnel with "%{client:group}" instead of Huntgroup-Name.
>
> But what is the equivalent Variable to check that in the users file / files module?

You'll have to copy it into a variable before calling files e.g.

authorize {
   ...
   update request {
     Tmp-String-0 = "%{client:group}"
   }
   files
   ...
}

...then in "users"

DEFAULT	Tmp-String-0 == "group1"
	blah,
	blah

You can define your own variable names; see raddb/dictionary and note 
carefully the comments about attribute numbers.


More information about the Freeradius-Users mailing list