retrieves attributes from schema

Michael Ströder michael at stroeder.com
Wed Jul 20 11:36:41 CEST 2005


Jérôme Wax wrote:
> Can I retrieve all required and sufficient attributes for a specific
> schema with Python-Ldap ?

There's a undocumented module ldap.schema. See Demo/schema.py for a
couple of examples. But first you should understand all the nits and
bits about correct usage of LDAPv3 subschema subentries.

Note: The API of ldap.schema might change in the future. I.e. I'm still
thinking about changing the ill-designed error handling for non-existent
schema elements.

Ciao, Michael.



More information about the python-ldap mailing list