[Freeipa-devel] [PATCH] 629 optimize queries when searching for indirect members

Rob Crittenden rcritten at redhat.com
Fri Dec 3 22:27:18 UTC 2010


Ensure list of attrs to retrieve is unique, optimize getting indirect 
members

This fixes search where we were asking for the member attribute 10 or 
more  times.

When retrieving indirect members make sure we always pass around the 
size and time limits so we don't have to look it up with every call to 
find_entries()

I saw this while doing a group_find and watching the LDAP access log.

ticket 557

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-629-query.patch
Type: text/x-patch
Size: 2435 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101203/9cdb9f4c/attachment.bin>


More information about the Freeipa-devel mailing list