rlm_ python how to find imported modules?

Jim Whitescarver jimscarver at gmail.com
Mon Feb 15 14:19:45 CET 2016


Hi alan,

Clearly I am clueless about what I am doing.  The file
is  mods-enabled/python

 python_path = ${modconfdir}/${.:name}:/usr/lib/python2.7/

fixed the problem.

Thanks,

Jim

On Mon, Feb 15, 2016 at 3:51 AM, <A.L.M.Buxey at lboro.ac.uk> wrote:

> Hi,
> > In sites-config/python there is
>
> sites-config?
>
> non standard directory layout
>
> >   python_path = ${modconfdir}/${.:name}
> >
> > I need /usr/lib/python2.7 in the path.  I don't know hoe to add it.
>
> ....well, if you know what you are doing, this current config sets the
> path to values in
> ${modconfdir}/${.:name}
>
>
> so
>
> python_path = /usr/lib/python2.7/
>
>
> would be a starting point.....but I dont think the result is what you
> want...
>
> alan
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list