variable expansion of check item in users file

Alexandre Chapellon alexandre.chapellon at mana.pf
Thu Nov 6 00:54:53 CET 2008



Le 05.11.2008 13:40, tnt at kalik.net a écrit :
>> I have several accounts stored in users files for which i have set set
>> the Pool-Name controll attribute based on the Huntgoup-Name.
>> So i tried something like this:
>>
>> account1   Cleartext-Password := "passwd1", Pool-Name :=
>> "%{Huntgroup-Name}_suffix"
>>
>> Unfortunatly the expansion of the variable doesn't happen and all i get
>> is '=25=7BHuntgroup-Name=7D_suffix'
>> If i put exactly the same thing in the reply item expansion is done
>> correctly...
>>
>> account1   Cleartext-Password := "passwd1"
>>    IP-Address-Pool-Name := "%{Huntgroup-Name}_suffix"
>>
>>
>> Is it a normal behaviour? How else can I achieve it (I would appreciate
>> not to duplicate users entries for each of my huntgroup!)?
>> -
>>     
>
> 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...

> 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/f832d82d/attachment.html>


More information about the Freeradius-Users mailing list