diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-10-31 12:31:24 +0000 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-11-27 13:46:41 +0100 |
commit | a9bf18ab9554cb541f6f5f31c6860a3610df5e13 (patch) | |
tree | 040e3340c726fc7feb1582f7ec3f81376e09aa12 /ipaserver/plugins | |
parent | 8013056194755d44105b512960951d723cc706d7 (diff) | |
download | freeipa-a9bf18ab9554cb541f6f5f31c6860a3610df5e13.tar.gz freeipa-a9bf18ab9554cb541f6f5f31c6860a3610df5e13.tar.xz freeipa-a9bf18ab9554cb541f6f5f31c6860a3610df5e13.zip |
Support searches with paged results control in LDAPClient.
https://fedorahosted.org/freeipa/ticket/3971
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r-- | ipaserver/plugins/ldap2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index e62f74b90..d05ab393c 100644 --- a/ipaserver/plugins/ldap2.py +++ b/ipaserver/plugins/ldap2.py @@ -183,7 +183,7 @@ class ldap2(LDAPClient, CrudBackend): def find_entries(self, filter=None, attrs_list=None, base_dn=None, scope=_ldap.SCOPE_SUBTREE, time_limit=None, - size_limit=None, search_refs=False): + size_limit=None, search_refs=False, paged_search=False): if time_limit is None or size_limit is None: config = self.get_ipa_config() if time_limit is None: @@ -194,7 +194,7 @@ class ldap2(LDAPClient, CrudBackend): res, truncated = super(ldap2, self).find_entries( filter=filter, attrs_list=attrs_list, base_dn=base_dn, scope=scope, time_limit=time_limit, size_limit=size_limit, - search_refs=search_refs) + search_refs=search_refs, paged_search=paged_search) if attrs_list and ( 'memberindirect' in attrs_list or '*' in attrs_list): |