[Freeipa-devel] [PATCHES] Make search filter generation a bit safer. Minor bug fixes/code improvements. + Add DNS management plugin port to the new ldap backend.

Pavel Zuna pzuna at redhat.com
Mon Apr 27 19:26:52 UTC 2009


Patch 0001: Make search filter generation a bit safer. Minor bug 
fixes/code improvements.

- Make filter generation safer, for example if someone tries to generate 
a filter from an empty dict, the resulting filter will be '' instead of 
an exception thrown in the user's face.
- In find_entries filter now defaults to '(objectClass=*)' when an empty 
string or None is passed to it, the same way ldapsearch does it.
- Corrects minor defects from previous patches.


Patch 0002: Add DNS management plugin port to the new ldap backend.

I know the word 'port' might seem a bit out of place, because most 
people on freeipa-devel haven't seen the original version for the old 
LDAP backend. I made the first version a long time ago and since it was 
my first plugin, it wasn't very good.

Anyway, this plugin is a bit special, because of the underlying LDAP 
schema. I tried to make it's commands as powerful and easy to use as 
possible. Examples of use are in the module's docstring.


Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-search-filter-generation-a-bit-safer.-Minor-bug.patch
Type: application/mbox
Size: 3359 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090427/8b279375/attachment.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-DNS-management-plugin-port-to-the-new-ldap-backe.patch
Type: application/mbox
Size: 24348 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090427/8b279375/attachment-0001.mbox>


More information about the Freeipa-devel mailing list