[Freeipa-devel] [PATCH] 314-315 Limit unindexed searches

Rob Crittenden rcritten at redhat.com
Wed Sep 26 18:58:25 UTC 2012


Martin Kosek wrote:
> These 2 patches significantly limit the number of unindexed LDAP searches we do
> in IPA. I used our unit test suite as a good source of different LDAP searches
> run by our command suite.
>
> Most of the remaining unindexed searches are produced either by our general
> term search ("ipa service-find TERM") which hit every object parameter and DNS
> commands (idnsname is not indexed yet). I am thinking about indexing about
> idnsName as well...
>

Patch 314 looks ok. It addresses ticket 3025 as well (ipakrbprincipalalias).

For 315 I'd prefer we add a new exception type to mirror 
ldap.NOT_ALLOWED_ON_NONLEAF and catch that in delete instead of 
DatabaseError.

rob





More information about the Freeipa-devel mailing list