From: Konstantin C. <Kon...@da...> - 2001-07-10 15:46:39
|
Hi David, 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. Regards, Konstantin. > > d > > ----- Original Message ----- > From: "Konstantin Chuguev" <Kon...@da...> > To: <mi...@st...> > Cc: <pyt...@li...> > 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 |