Leons Petrazickis wrote:
> ldap.LOCAL_ERROR: {'desc': 'Local error'}
> [..]
> But OpenLDAP commands work fine from the command prompt:
> [..]
> I am using the python-ldap package on Ubuntu Gutsy.
I have no clue which version of python-ldap Ubuntu is using. Nor do I
know whether they applied any patches *they* believe to be necessary
before packaging it. Could you please try to reproduce the problem with
a stock python-ldap 2.3.1 built from official source distribution
against recent OpenLDAP libs 2.3.x?
Another option to track down issues is to turn on debug logging in
python-ldap and also in the OpenLDAP libs:
ldap.set_option(ldap.OPT_DEBUG_LEVEL,4095)
and
l = ldap.initialize('ldap://yourserver:port',trace_level=2)
Ciao, Michael.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev