|
From: Konstantin C. <Kon...@da...> - 2000-11-17 10:47:43
|
Hello Jeffrey and all.
Attached are recent version of my patches, if you are interested. They
provide the following:
* automatic recognition of OpenLDAP-1.2.x or OpenLDAP-2.0.x at compilation
time, building different sets of Python LDAP constants and error
exception objects for different OpenLDAP versions;
* special tuples for continuation references: (None, [list_of_URLs]).
Compare to normal entry tuples: (DN, {dict_of_attributes}). Both types
of tuples can be returned from search methods;
* new type of result type in the result method: SEARCH_REFERENCE.
* a few new ldap object attributes, among them: referrals - disables (0)
or enables (1) following referrals; is set to 1 after ldap object
initialisation; version (2 or 3) - sets LDAP protocol version (default
is 2).
Any comments/suggestions/fixes are welcome.
Regards,
Konstantin.
"Jeffrey C. Ollie" wrote:
> On Thu, Nov 16, 2000 at 11:55:57PM +0100, Michael Ströder wrote:
> > "Jeffrey C. Ollie" wrote:
> > >
> > > I've gotten today's CVS version to compile against OpenLDAP 2.0.7.
> >
> > Ooops. Double efforts. I'm currently testing patches by Konstantin
> > (Cc:-ed) which also allow to retrieve search continuation references
> > (LDAPv3 referrals).
> >
> > He made some changes to attributes of LDAPObject. Especially setting
> > the options is different.
>
> I didn't know that anyone else was working on it... The list has been
> quiet for some time now. It looks like Konstantin's work goes beyond
> what I intended to accomplish. I wasn't looking to add any
> functionality, just to get python-ldap to compile and work. But I'd
> be happy to test out other patches and perhaps fix a bug or two.
>
> Jeff
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
--
* * Konstantin Chuguev - Application Engineer
* * Francis House, 112 Hills Road
* Cambridge CB2 1PQ, United Kingdom
D A N T E WWW: http://www.dante.net
|