> 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@restena.lu Tel.: +352 424409-1
http://www.restena.lu Fax: +352 422473
Attachment:
pgpXhEIX0AAZx.pgp
Description: PGP signature