summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Bergolth <leo@strike.wu.ac.at>2014-03-06 12:23:20 +0100
committerAlexander Bergolth <leo@strike.wu.ac.at>2014-03-06 12:23:20 +0100
commitf850fcfac51080baf1af90d59a8d94b80721c819 (patch)
tree50af48313961c14791635c29c223e3dee578c944
parent6585bd5a500292a284490e96250d465280f3c34b (diff)
downloadnextcloud-server-f850fcfac51080baf1af90d59a8d94b80721c819.tar.gz
nextcloud-server-f850fcfac51080baf1af90d59a8d94b80721c819.zip
"reset" ldap pagedSearch control by setting it to a high value
-rw-r--r--apps/user_ldap/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 018cf13c91c..01bfbb4cbf6 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',