Olivier,

please follow-up on the python-ldap-dev (Cc:-ed) list because this is 
certainly of general interest.

Olivier Sessink wrote:
> 2008/4/23 Michael Ströder <[EMAIL PROTECTED]>:
>>  Hmm, I'm not sure I would consider this to be very high-level. If a
>> higher-level API is ever add to python-ldap it will definitely be
>> subschema-aware to map OID to NAME aliases and some more stuff and make use
>> of defaultdict stuff new in Python 2.5.
> 
> Can you explain a little what the subschema-awareness would bring for
> the python-ldap programmer? Can you give a (pseudo-code) example what
> that could look like?

It eases dealing with different attribute names and the accompanying 
OIDs. There's already something implemented in (undocumented) class 
ldap.schema.models.Entry which I heavily use in web2ldap. It does not 
implement methods for invoking the LDAP add and modify operations. It is 
still undocumented because it was never thoroughly reviewed by others 
and probably some details may need a re-design.

Ciao, Michael.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to