dhcp and rlm_python am i missing something?

Phil Mayers p.mayers at imperial.ac.uk
Thu May 8 17:04:09 CEST 2014


On 08/05/14 15:24, Serge Krawczenko wrote:
> I'm really sorry Arran, python syntax does not allow function naming as
> python.authorize

No, that's not what Arran means or said.

In the *RADIUS* configs, you can call a module:

authorize {
   ...
   my_module
   ...
}

...or you can make the server call a different "section" handler of the 
module e.g.

authorize {
   ...
   my_module.post_auth
   ...
}

...or:

dhcp DHCP-Discover {
   ...
   my_module.authorize
   ...
}



More information about the Freeradius-Users mailing list