[Freeipa-devel] [PATCHES] Add new set of base classes for plugins using LDAP.

Pavel Zuna pzuna at redhat.com
Wed Jun 10 12:49:50 UTC 2009


I rewritten the patches I posted last week according to the feedback I got.

The changes are:
- all the functionality specific to LDAP plugin base classes has been removed 
from Object and crud base classes.
- there is now 2 types of callbacks: pre_callbacks (called before passing data 
to python-ldap throught the LDAP backend) and post_callbacks (called after 
getting output from python-ldap)
- some bug fixes

Patch 0006: Modify PluginProxy to use __public__ defined in derived classes 
instead of base classes.

Patch 0007: Add 'parent_key' kwarg in Param class.

Patch 0008: Make get_dn parameter list more generic. Fix Attribute name regex.

The old name regex made it impossible to have Attribute instances with names 
composed of more than two words separated by underscores.

Patch 0009: Generate crud.Search arguments with get_args.

(This might not be required, but I wanted to make sure arguments are generated 
properly in subclasses.)

(Patch 0010 is in a separate e-mail at Martin's request.)

Patch 0011: Add new set of base classes for plugins using LDAP.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Modify-PluginProxy-to-use-__public__-defined-in-deri.patch
Type: application/mbox
Size: 973 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090610/c1f611b6/attachment.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Add-parent_key-kwarg-in-Param-class.patch
Type: application/mbox
Size: 767 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090610/c1f611b6/attachment-0001.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Make-get_dn-parameter-list-more-generic.-Fix-Attribu.patch
Type: application/mbox
Size: 1229 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090610/c1f611b6/attachment-0002.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Generate-crud.Search-arguments-with-get_args.patch
Type: application/mbox
Size: 1517 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090610/c1f611b6/attachment-0003.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-Add-new-set-of-base-classes-for-plugins-using-LDAP.patch
Type: application/mbox
Size: 12263 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090610/c1f611b6/attachment-0004.mbox>


More information about the Freeipa-devel mailing list