<div dir="ltr"><div>Regarding the post-auth</div><div><br></div>I've seen such an opinion somewhere and tested it, unfortunately func_post_auth wasn't called.<div>Does it imply i need to add post-auth section into config like</div>
<div><br></div><div>post-auth {</div><div> python</div><div>}</div><div><br></div><div>OR just dhcp is enough and it will be intepreted as post-auth in python module?</div><div><br></div><div>also, i'm talking about version 2.2.4, should i try 3.x.x?<br>
<div><br></div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 8, 2014 at 4:05 PM, Phil Mayers <span dir="ltr"><<a href="mailto:p.mayers@imperial.ac.uk" target="_blank">p.mayers@imperial.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 07/05/14 22:26, Serge Krawczenko wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
next, i've not found any mention of 'dhcp' section in rlm_python sources<br>
</blockquote>
<br></div>
"dhcp" sections are actually post-auth. Use:<br>
<br>
mod_post_auth = my_dhcp_mod<br>
func_post_auth = my_dhcp_func<br>
<br>
You don't need to edit the source code.<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/<u></u>list/users.html</a><br>
</blockquote></div><br></div>