Local Error in simple_bind_s();

Michael Ströder michael at stroeder.com
Fri Dec 21 18:53:38 CET 2007


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.



More information about the python-ldap mailing list