_ldap problem and current resolution. -- found api change
Konstantin.Chuguev at dante.org.uk
Wed Oct 3 11:03:36 CEST 2001
A small update on what I'm doing:
I have merged Steffen Ries's and my patches and built python-ldap with
OpenLDAP-2.0.15. I then installed web2ldap-0.9.5 to do some tests.
For what I need it, it works fine. But there still may be problems in other
I think it's OK to commit the patches to the current branch of CVS. Your
And, yes, as there are no ldap_ufn_* functions in OpenLDAP-2.x, they are made
conditional (#if LDAP_API_VERSION < 2000) in the patches.
The other known issue is the ldap_rebind_proc callback function, which
incompatible in OpenLDAP-1.x and 2.x (both arguments, result and behaviour).
This requires more study.
Christian Wiese wrote:
> where can I get the OpenLDAP 2.0.16engineering version ?
> I can test it on my machine because I don't run openldap 1.x
> Am Tuesday 02 October 2001 19:57 schrieb Michael Ströder:
> > Joe Little wrote:
> > > what is the openldap 2.x module name from cvs.. I just pulled
> > > "python-ldap" using the anonymous instructions, and it pulled a copy
> > > with all UFN/etc support still there. like Christian said, he built
> > > against the current CVS tree. Is this tree "the openldap 2.x" tree like
> > > I think it is. If so, it is littered with ufn/url support :)
> > OpenLDAP 2 support not yet there in CVS.
> > The most recent and complete OpenLDAP 2 patch I have is the one by
> > Steffen Ries <steffen.ries at sympatico.ca> who tried to come up with
> > something against CVS containing all the memory leak fixes applied,
> > Konstantin's patches, Stig's suggestions and his own STARTTLS
> > support. Not sure about the ufn* stuff though. I've built it against
> > OpenLDAP 2.0.16engineering from CVS. It works but still seg faults a
> > lot. Could be an issue with my local installation with OpenLDAP
> > 1.2.13 hanging around in /usr/lib although
> > /usr/local/openldap2/lib/libldap.so.2 is used.
> > This patched module is used for running web2ldap's online-demo at
> > http://sites.inka.de:8002/web2ldap with Python 2.
> > Ciao, Michael.
More information about the python-ldap