mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-03 04:40:31 -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:
1 parent
1300381d45
commit
0df65b6d03
1 file changed
+2
-1
@@ -1325,7 +1325,8 @@ class LDAPClient(object):
|
||||
for their description.
|
||||
"""
|
||||
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:
|
||||
self.handle_truncated_result(truncated)
|
||||
except errors.LimitsExceeded as e:
|
||||
|
||||
Reference in new issue
Block a user