dynamically selecting, which attribute to evaluate

Alan DeKok aland at deployingradius.com
Wed Dec 1 18:46:34 CET 2010


Stefan A. wrote:
> :-(  but thanks, Alan,
> 
> Unfortunately, I've never have been able to build FR with perl on my x86
> Solaris 10 boxes... but we well keep trying ;-)

  It should be possible.

> 
> 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.
>>
>>> Why does it not expand the %{control:TicketType} to Ticket245 in this
>>> situation?
>>   You can't really do two levels of expansion like that, sorry.

  I suggest reading the messages on this list.

  Alan DeKok.



More information about the Freeradius-Users mailing list