[Freeipa-devel] [PATCH] Add ldap2 method to retrieve allowed attributes for specified objectClasses.

Pavel Zuna pzuna at redhat.com
Tue Jan 25 15:31:18 UTC 2011


ldap2.get_allowed_attributes(['posixuser'])

returns a list of unicode all lower case attribute names allowed for the object 
class 'posixuser'

You can enter as many object classes as you want.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pzuna-64-getallowattrs.patch
Type: text/x-patch
Size: 2464 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110125/b2ddca11/attachment.bin>


More information about the Freeipa-devel mailing list