Hi all,
The current Python LDAP interface is a bit low level for my liking, so
I've started work on an LDAP ORM[1]. Currently there's very little RM
going on, but I have got a nice Python object representing an LDAP
object with attribute access and deletion, no adding or saving to the
ldap server
James Andrewartha wrote:
>
> --- cidict.py~ 2003-08-25 00:28:12.0 +0800
> +++ cidict.py 2007-10-22 20:16:54.0 +0800
> @@ -43,6 +43,9 @@
>def has_key(self,key):
> return UserDict.has_key(self,lower(key))
>
> + def __contains__(self,key):
> +return UserDict.has_key(
On Mon, 2007-10-22 at 15:05 +0200, Michael Ströder wrote:
> James Andrewartha wrote:
> >
> > --- cidict.py~ 2003-08-25 00:28:12.0 +0800
> > +++ cidict.py 2007-10-22 20:16:54.0 +0800
> > @@ -43,6 +43,9 @@
> >def has_key(self,key):
> > return UserDict.has_key(self,lower(k
James Andrewartha wrote:
> On Mon, 2007-10-22 at 15:05 +0200, Michael Ströder wrote:
>
>> If you're using ldap.schema you might want to look into using class
>> ldap.schema.models.Entry instead of simply ldap.cidict.cidict because
>> you don't have to care about attribute description aliases and m
On Mon, 2007-10-22 at 07:12 -0700, Anil Jangity wrote:
> I was toying with the idea of doing just this thing a few days ago.
> It'll be nice if it also handles all the modifications of an entry
> with ease. (changing rdn when the attributes change etc...)
>
> Let me know how I can help. :)
Well,
On Mon, 2007-10-22 at 16:13 +0200, Michael Ströder wrote:
> James Andrewartha wrote:
> > On Mon, 2007-10-22 at 15:05 +0200, Michael Ströder wrote:
> >> If you're using ldap.schema you might want to look into using class
> >> ldap.schema.models.Entry instead of simply ldap.cidict.cidict because
> >>
James Andrewartha wrote:
>
> Thanks for the pointer. I've updated the code to map _ in attribute
> names to -. Attributes without a short name are impossible to wrap - I'm
> not expecting clients of this library to know OIDs.
If you don't support schema elements without NAME you're not LDAPv3
com
Hi,
The first patch removes an invalid LDAP option. The second updates the
LDAPObject documentation, and the third updates LDAPObject docstrings.
Hopefully I'll have time to look at updating the rest of the docs soon.
James Andrewartha
Index: Modules/constants.c
==