RLM_python patch to enable postproxy - Not work need a little help

Alan DeKok aland at deployingradius.com
Tue Nov 13 09:31:26 CET 2007


Mike O'Connor wrote:
> Maybe I'm not getting your but even the lastest cvs does not have any
> post-proxy or post-auth support.

  That's not what I meant.

> My code added the post-proxy but when I tried to use it freeradius would
> complain that rlm_python did not support being called from the post-auth
> section of radiusd.conf.

  Yes... because the server is using the version of rlm_python from
1.1.7, and NOT the one you built.

  Go delete the one installed by 1.1.7, and MAKE SURE that the one you
built is installed.

> That's what I would have thought which is why what I saw did not make
> any senses. It would report finding my config section for the post-proxy
> but when added to the config it would not start freeradius.

  Finding the config simple means that you told it to use python for
post-proxy.  Finding the "post-proxy" entry in the module structure
means that the server knows the module is *capable* of post-proxy.

  If the server is using the OLD version of rlm_python, and not the NEW
version you build, it WILL NOT find that "post-proxy" entry, because the
module it found is not capable of post-proxy.

  Alan DeKok.



More information about the Freeradius-Users mailing list