mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Make get_entries() not ignore its limit arguments
get_entries() wouldn't pass some arguments deeper to find_entries() function it wraps. This would cause unexpected behavior in some cases throughout the framework where specific (non-)limitations are expected. https://fedorahosted.org/freeipa/ticket/5640 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
committed by
Jan Cholasta
parent
1300381d45
commit
0df65b6d03
@@ -1325,7 +1325,8 @@ class LDAPClient(object):
|
|||||||
for their description.
|
for their description.
|
||||||
"""
|
"""
|
||||||
entries, truncated = self.find_entries(
|
entries, truncated = self.find_entries(
|
||||||
base_dn=base_dn, scope=scope, filter=filter, attrs_list=attrs_list)
|
base_dn=base_dn, scope=scope, filter=filter, attrs_list=attrs_list,
|
||||||
|
**kwargs)
|
||||||
try:
|
try:
|
||||||
self.handle_truncated_result(truncated)
|
self.handle_truncated_result(truncated)
|
||||||
except errors.LimitsExceeded as e:
|
except errors.LimitsExceeded as e:
|
||||||
|
Reference in New Issue
Block a user