Variable/Attribute expansion in SQL

Alan DeKok aland at deployingradius.com
Tue Mar 8 19:52:42 UTC 2022


On Mar 8, 2022, at 2:01 PM, Matthew Newton <mcn at freeradius.org> wrote:
> Should be able to use the 'xlat' xlat to force expansion, no?
> 
> Something like
> 
> update reply {
>  &Tmp-String-0 := "%{xlat:&Tmp-String-1}"
> }

  It can be done, but only for each attribute, one by one.

> But in either case I'd be very careful to ensure that the data coming from SQL is only set by the admin, and not from data in an incoming request.

  Yeah.  :(

  Alan DeKok.



More information about the Freeradius-Users mailing list