Regarding the post-auth

I've seen such an opinion somewhere and tested it, unfortunately func_post_auth wasn't called.
Does it imply i need to add post-auth section into config like

post-auth {
   python
}

OR just dhcp is enough and it will be intepreted as post-auth in python module?

also, i'm talking about version 2.2.4, should i try 3.x.x?




On Thu, May 8, 2014 at 4:05 PM, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
On 07/05/14 22:26, Serge Krawczenko wrote:

next, i've not found any mention of 'dhcp' section in rlm_python sources

"dhcp" sections are actually post-auth. Use:

                mod_post_auth = my_dhcp_mod
                func_post_auth = my_dhcp_func

You don't need to edit the source code.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html