compiling against OpenLDAP 2.0.11
Konstantin.Chuguev at dante.org.uk
Tue Jul 10 17:45:55 CEST 2001
David Leonard wrote:
> this is good - commit it
I doubt I can do that: I'm not a python-ldap developer... :-)
> will the documentation need updating?
I'll prepare another patch for python-ldap/Doc/libldap.tex.
> ----- Original Message -----
> From: "Konstantin Chuguev" <Konstantin.Chuguev at dante.org.uk>
> To: <michael at stroeder.com>
> Cc: <python-ldap-dev at lists.sourceforge.net>
> Sent: Tuesday, July 10, 2001 6:59 PM
> Subject: Re: compiling against OpenLDAP 2.0.11
> > Yes, OpenLDAP-2.0.11 and especially recent changes in python-ldap CVS
> > repository require a new version of patches. I've attached them.
> > The patches don't change the behaviour of python-ldap when compiled
> > against OpenLDAPv1, but create an alternative code when used with
> > OpenLDAPv2. Here are the differences between python-ldap compiled
> > against OpenLDAPv1 and v2 using the patches (seen from the point of view
> > of a programmer using python-ldap):
> > * new constants added for v2 (see constants.c.patch);
> > * new errors/exceptions added for v2 (see errors.c.patch);
> > * a set of LDAP session attributes changed:
> > o only in v1: lberoptions (rw), refhoplimit (rw), options (rw),
> > valid (ro);
> > o only in v2: version (rw), referrals (rw), restart (rw);
> > o in both versions: deref (rw), timelimit (rw), sizelimit (rw),
> > errno (ro), error (ro), matched (ro).
> > * new type of data added to the Python dictionary returned as a
> > result of ldap_result:
> > Dictionary keys are DNs, values are entry objects. If the key is
> > empty, the value is the list of referrals (URL text strings).
* * Konstantin Chuguev - Application Engineer
* * Francis House, 112 Hills Road
* Cambridge CB2 1PQ, United Kingdom
D A N T E WWW: http://www.dante.net
More information about the python-ldap