multiple attribute instaces and radius variables (xlat)

Andriy Gapon avg at icyb.net.ua
Wed Mar 29 19:26:37 CEST 2006


FreeRAIUS documentation in 1.1.1 mentions a possibility of referencing
specific AVPs in case of multiple instances of an attribute
(%{Attr-Name[N]}).
This is quite useful (and a nice addition!), but it doesn't seem to
cover some situations (especially related to logging/accounting) where
number of attribute instances is not known in advance.
Is it possible to add something like %{Attr-Name[*]} that would expand
to all values of an attribute and something like %{Attr-Name[#]} that
would expand to number of attribute instances ?
The toughest part of the above suggestion is which delimiter to use in
case of [*] and if it is possible to make that delimiter configurable.

-- 
Andriy Gapon



More information about the Freeradius-Users mailing list