Decisionmaking in FreeRADIUS & Check/Reply Items

Thibault Le Meur Thibault.LeMeur at supelec.fr
Wed Oct 11 10:23:01 CEST 2006


> My actual problem relates to the following errors, pulled 
> from radiusd -X:
> 
> [/etc/raddb/users]:214 WARNING! Check item "Pool-Name" ?found 
> in reply item list for user "DEFAULT". ?This attribute MUST 
> go on the first line with the other check items 
> The offending rules are in users:
> 


As you can read in the logs, Pool-Name is a check Item and must go to the
first line of your users file.


> DEFAULT User-Bytes-Used < 21474836480 , Group == "512k"
> # user gets high speed service if under 20gb
>         Pool-Name := "512k_high",
>         Max-Download-Rate := 524288,
>         Max-Upload-Rate := 262144
>

> But... but... the bottom 3 attributes *aren't* check 
> attributes! 

Pool-Name IS a check Item even and Check Item can be set in your users'
rules.

Try:
 DEFAULT User-Bytes-Used < 21474836480 , Group == "512k", Pool-Name :=
"512k_high"
         Max-Download-Rate := 524288,
         Max-Upload-Rate := 262144

HTH,
Thibault





More information about the Freeradius-Users mailing list