ULANG List

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Feb 27 02:41:38 CET 2018



> On Feb 26, 2018, at 4:47 PM, Bassem Mettichi <mettichi at gmail.com> wrote:
> 
> Hello,
> 
> can ULANG accept list return? for example
> 
> update request {
> 
> mylist = "%{redis:hgetall %{User-Name} }"
> 
> 
> }

It can in v4 (very unstable) in cases where it's explicitly required, but not in v3.

The problem is that in v3 xlat expansions like the one above write their result to a single contiguous expansion buffer.

In v4 xlats produce a linked list of boxed values.

There's not a good work around for this unfortunately.

-Arran

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 874 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20180227/0dde5a41/attachment-0001.sig>


More information about the Freeradius-Users mailing list