retrieving schema

Michael Ströder michael at stroeder.com
Sun Nov 24 00:26:02 CET 2002


Michael Engelhart wrote:
> Is there anyway in python-ldap to retrieve the schema or an allowed 
> attribute list from a directory (possibly an empty directory - no 
> entries yet added).

Yes, dig into ldap.schema added in python-ldap 2.0.0pre06 (not yet 
documented and possibly still subject to changes).

See

http://python-ldap.sourceforge.net/pydoc/ldap.schema.html

and

Demo/schema.py

Ciao, Michael.






More information about the python-ldap mailing list