SQL xlat and multivalued attributes

Alan DeKok aland at deployingradius.com
Mon Sep 22 17:05:11 CEST 2014

Franks Andy (RLZ) IT Systems Engineer wrote:
>   It would be immensely useful for me to be able to use multivalued
> attributes from SQL xlats.


> Is this something that is possible?

  Arran and I were discussing that.  Most solutions are hard.  The code
is pretty much welded to using *one* string coming back from string
expansions.  Allowing for more is... not simple.

> I’m guessing from previous posts that the advice should be “use a
> programming language” but it seems a shame if we need to do that for
> multiple row returns from SQL and not for single row returns.

  I agree.

> Foreach is there for iterating over these, and we already have
> multivalued attributes supported in request / reply lists…

  That sounds simple, but the implementation and even configuration file
syntax isn't obvious. :(

  Alan DeKok.

More information about the Freeradius-Users mailing list