From f850fcfac51080baf1af90d59a8d94b80721c819 Mon Sep 17 00:00:00 2001 From: Alexander Bergolth Date: Thu, 6 Mar 2014 12:23:20 +0100 Subject: [PATCH] "reset" ldap pagedSearch control by setting it to a high value --- apps/user_ldap/lib/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index 018cf13c91..01bfbb4cbf 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -707,7 +707,7 @@ class Access extends LDAPUtility { $sr = $this->ldap->search($linkResources, $base, $filter, $attr); $error = $this->ldap->errno($cr); if ($pagedSearchOK) { - $this->ldap->controlPagedResult($cr, 0, false, ""); + $this->ldap->controlPagedResult($cr, 999999, false, ""); } if(!is_array($sr) || $error !== 0) { \OCP\Util::writeLog('user_ldap',