73b2d0a ldap2 indirect membership processing: Use global limits if greater than per-query ones

Authored and Committed by pviktori 9 years ago
    ldap2 indirect membership processing: Use global limits if greater than per-query ones
    
    Calling an ipa *-find command with --sizelimit=1 on an entry with more
    members would result in a LimitsExceeded error as the search for members
    was limited to 1 entry.
    
    For the memberof searches, only apply the global limit if it's larger than
    the requested one, so decreasing limits on the individual query only
    affects the query itself.
    
    https://fedorahosted.org/freeipa/ticket/4398
    
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>
    
        
file modified
+29 -6