Accessing %{client:...} in C custom module
Alan DeKok
aland at deployingradius.com
Tue Mar 1 17:01:02 CET 2016
On Mar 1, 2016, at 10:58 AM, Boris Lytochkin <lytboris at yandex-team.ru> wrote:
> I finaly came to idea that huntgroups are evel and found this thread
> http://lists.freeradius.org/pipermail/freeradius-users/2014-February/070431.html
> that shows a way to set a custom attribute to for a client.
>
> The problem that is left as-is that I can not see any snippet in sources showing how this custom data could be evaluated in my custom module: this attribute is not shown in
> radiusd: #### Loading Clients ####
> config load section so I am totally out of ideas.
>
> Could anybody point me to the right spot in sources or show an example?
See request->client->cs
You can use the conffile.c / conffile.h API to find anything you need.
Alan DeKok.
More information about the Freeradius-Devel
mailing list