unlang: copy a string attribute to an octets attribute without escaping ?
Alan DeKok
aland at deployingradius.com
Thu May 22 21:53:59 CEST 2014
Phil Mayers wrote:
> In 3.x yes:
>
> Attr-Octets = &control:Attr-String
>
> ...and maybe the <cast> stuff (haven't looked at it).
The <cast> is only for "if" conditions. It isn't needed anywhere else.
> Not sure in older versions - there might be some kind of unlang xlat
> magic voodoo you can do, but I don't think so, it'll be the
> pairparsevalue() that is doing the interpretation.
It's almost impossible in older versions.
Alan DeKok.
More information about the Freeradius-Users
mailing list