redefine radius attribute set
Stefan Winter
stefan.winter at restena.lu
Wed Dec 6 12:30:12 CET 2006
> i want redefine DEFAULT set of Simultaneous-use
>
> DEFAULT NAS-Port-Type == Virtual, Simultaneous-Use := 1
> Fall-Through = 1
>
> that for all users, but for someone need "Simultaneous-Use := 2"
> if add "Simultaneous-Use := 2" to specific user entry, this not work.
>
> i found for gnu radius manual:
>
> = Additivity = Replace
> ^(*)
Hm, why do you read a user manual for product A and expect it to work with
product B?
Reading "man 5 users" might be a better approach, it tells you interesting
things about the Fall-Through attribute.
The solution is to add another entry for your special user before the DEFAULT
one, which does not reach the DEFAULT entry, i.e.
yourusername NAS-Port-Type == Virtual, Simultaneous-Use := 2
DEFAULT NAS-Port-Type == Virtual, Simultaneous-Use := 1
Fall-Through = 1
(note the absence of Fall-Through to make processing stop after the match)
Greetings,
Stefan Winter
--
Stefan WINTER
Stiftung RESTENA - Réseau Téléinformatique de l'Education Nationale et de
la Recherche
Ingenieur Forschung & Entwicklung
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg
E-Mail: stefan.winter at restena.lu Tel.: +352 424409-1
http://www.restena.lu Fax: +352 422473
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20061206/ead65a43/attachment.pgp>
More information about the Freeradius-Users
mailing list