I went back to creating a python module in the modules folder and the post-auth is now working.
There is something missing in the experimental.conf to have it work with that method. I prefer creating a python module anyway. Looks like there is a bug in 2.1.4 and rlm_python where the post-auth cannot work. The key for me here was to update to 2.1.7 Thank you. On Wed, Oct 21, 2009 at 3:37 PM, phil lemelin <[email protected]>wrote: > Alan, > > Thank you for you time. > I downloaded, compiled and installed the 2.1.7 version. > I replaced my /usr/local/raddb folder by the 2.1.7 raddb folder and used > that to make sure my config didnt conflict. > I only modified radiusd.conf to add experimental.conf and added "python" in > the post-auth section of site-enabled/default > > [r...@someserver freeradius-server-2.1.7]# /usr/local/sbin/radiusd -X >> FreeRADIUS Version 2.1.7, for host x86_64-unknown-linux-gnu, built on Oct >> 21 2009 at 15:24:29 >> >> --*snip*-- >> >> including configuration file /usr/local/etc/raddb/experimental.conf >> >> --*snip*-- >> >> Module: Checking post-auth {...} for more modules to load >> Module: Instantiating echo_NAS_Info >> exec echo_NAS_Info { >> wait = yes >> program = "/bin/echo %{User-Name}, %{NAS-IP-Address}, %{NAS-Port} " >> input_pairs = "request" >> output_pairs = "reply" >> shell_escape = yes >> } >> /usr/local/etc/raddb/sites-enabled/default[423]: Failed to find module >> "python". >> /usr/local/etc/raddb/sites-enabled/default[380]: Errors parsing post-auth >> section. >> > > Is there anything else I should do ? > > > -- > Philippe-Alexandre Lemelin > -- Philippe-Alexandre Lemelin
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

