Michael Ströder michael at stroeder.com
Mon Oct 22 16:13:08 CEST 2007

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 mapping
>> them to OIDs.
> I'm happy with the setup I've got now, but if I ever need to deal with
> attribute OIDs then I'll look into it.

Well, it's not a matter of you personally need to deal with it. There
might be the case that an attribute type or object class does not have
NAME assigned at all. Also think about language sub-types and transfer
type ;binary separated by ; from the name. And dashes (-) are allowed in
AttributeTypeDescription. You really should dive into RFC 4512.

Ciao, Michael.

More information about the python-ldap mailing list