variable expansion of check item in users file
Alexandre Chapellon
alexandre.chapellon at mana.pf
Thu Nov 6 01:40:10 CET 2008
Le 05.11.2008 14:32, tnt at kalik.net a écrit :
>>> Unlang:
>>>
>>> update control {
>>> Pool-Name := whatever
>>> }
>>>
>>>
>> I have to do it only for some of my users... and nothing really differs
>> them from the others...
>>
>>
>
> if (User-Name == "whatever") {
> update control { ...
>
>
Which would make me create more than 100 "if" (or a case) directives!
This would work but *IS* more than painfull, and almost impossible to
maintain!
Aren't there any other alternative?
> Ivan Kalik
> Kalik Informatika ISP
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20081105/296c90a5/attachment.html>
More information about the Freeradius-Users
mailing list