[python-ldap] ldap.schema

Michael Ströder michael at stroeder.com
Mon Oct 7 09:49:52 CEST 2013


paulo bruck wrote:
> but now I am
> facing a great difficultie trying to mount a script could show me from
> cn=schema all atributes witch are MUST and MAY.

That's what method ldap.schema.subentry.SubSchema.attribute_types() is for:

http://www.python-ldap.org/doc/html/ldap-schema.html#ldap.schema.subentry.SubSchema.attribute_types

This is used in Demo/schema.py which is part of python-ldap's source distribution.

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2398 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20131007/65f5c286/attachment.bin>


More information about the python-ldap mailing list