dynamically selecting, which attribute to evaluate

Johan Meiring jmeiring at pcservices.co.za
Wed Dec 1 21:31:12 CET 2010


On 2010/12/01 07:46 PM, Alan DeKok wrote:
>>
>> For the meantime, would it be feasable to
>>
>> update control {
>> 	temp_attribute := "reply:%{control:TicketType}-trigger-reactivation"
>> }
>>
>> and later
>>
>> if ("%{control:temp_attribute}" != ""){
>> 	do the rest
>> }
>
>    <sigh>
>
>    I said:
>
>>>    You can't really do two levels of expansion like that, sorry.


Using rlm_perl, you should be able to get the functionality you want.....

-- 


Johan Meiring
Cape PC Services CC
Tel: (021) 883-8271
Fax: (021) 886-7782




More information about the Freeradius-Users mailing list