Thanks you (or merci),

but this didn't work, but I found a way around it just now..

In the script file "openchange_newuser" there is a line

sys.path.append("python")

After that I added the line

sys.path.append("/usr/local/samba/lib/python2.7/site-packages")

to add the path to the python system path.

It worked.

Now I have other issues that I am looking at... If I do not succeed, I will
return to this list...

On Thu, Nov 24, 2011 at 7:20 PM, Jean-Michel OLTRA <[email protected]>wrote:

>
>    Bonjour,
>
>
> Le mercredi 23 novembre 2011, [email protected] a écrit...
>
>
> > I tried:
> >    sudo PYTHONPATH='/usr/local/lib/python2.7/site-packages'
> > /openchange_newuser --create testuser
>
> If PYTHONPATH is defined, and /usr/local/lib/python2.7/site-packages is
> *not* in PYTHONPATH, then you should have set:
>
> sudo PYTHONPATH=$PYTHONPATH:'/usr/local/lib/python2.7/site-packages'
>
> This includes the old python path value, and the new folder in the new
> path.
>
> --
> jm
>
> --
> [email protected]
> https://inverse.ca/sogo/lists
>
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to