dhcp and rlm_python am i missing something?

Alan DeKok aland at deployingradius.com
Thu May 8 16:32:24 CEST 2014


Serge Krawczenko wrote:
> I'm really sorry Arran, python syntax does not allow function naming as
> python.authorize

  That is what you put into the "dhcp" section of the virtual server.

> Also, tried to declare func_dhcp as python.dhcp in the module config,
> but no, it wants exact function name.

  Yes, because it *is* the function name.  You can't just put random
things in there and expect it to work.

> i have python module call in the instantiate section and i have
> func_instantiate declared in the module config and it is invoked
> properly when instantiated i just want the same for dhcp.

  See the directions above.

  Alan DeKok.


More information about the Freeradius-Users mailing list