Leons Petrazickis wrote:
>> _ldap.so
>> ldap/
>> ldif.py*
>> dsml.py*
>> ldapurl.py*
>
> I removed these. I then moved the OpenLDAP libs from /usr/lib to
> /usr/lib-backup, and removed all the extraneous copies lying around.
> [..]
> "/usr/lib/python2.4/site-packages/python_ldap-2.3.1-py2.4-linux-i686.egg/ldap/ldapobject.py",
> line 97, in _ldap_call
> result = func(*args,**kwargs)
> ldap.LOCAL_ERROR: {'desc': 'Local error'}
A fresh install of python-ldap does not reside in this directory like
the ones used in the traceback:
/usr/lib/python2.4/site-packages/python_ldap-2.3.1-py2.4-linux-i686.egg
Remove that completely.
After a python setup.py install the python-ldap modules reside in
/usr/lib/python2.4/site-packages. And in case of an error this module
path is shown in traceback.
There is some module mix on your system.
Ciao, Michael.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev