"reset" ldap pagedSearch control by setting it to a high value

This commit is contained in:
Alexander Bergolth 2014-03-06 12:23:20 +01:00
parent 6585bd5a50
commit f850fcfac5
1 changed files with 1 additions and 1 deletions

View File

@ -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',