rlm_python and post-auth manipulation.

phil lemelin phil.lemelin at gmail.com
Wed Oct 21 21:37:05 CEST 2009


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

[root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091021/6e53533e/attachment.html>


More information about the Freeradius-Users mailing list