> Ok, this is certainly a problem for me. I can't change freeradius
> version (at least not now, maybe in the future) so I assume the only
> option is to 'exec' external scripts to perform more complex queries, am
> I right?
It's an option, but not the only one. You can use Perl or Python, too.
Sorry if this seems studpid, but, do you mean that I can embed Perl in radiusd.conf?
> > f) Can I use multiple 'query' in radius.conf, using the values from a
> > first query to feed the next one?
>
> Yes, so long as the output from a query goes into a RADIUS attribute.
>
> Can you please elaborate, Alan, maybe with a small example or pointer to
> documentation?
There are no variables in the server, so you cannot put values from
one query into another. There ARE radius attributes. You can put
values from one query into a radius attribute, and use that attribute in
another query.
How do I set one radius attribute with a value from a query? I think I really need an example here :-/
This is much, much, easier in 2.0. See "man unlang".
Thanks for the tip, I'll try to force into the upgrade asap.
Cheers!