ImportSourceLdap: use paged result

fixes #2019
This commit is contained in:
Thomas Gelf 2020-03-09 10:19:14 +01:00
parent 413ac8f281
commit 391edf5f19
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,10 @@ class ImportSourceLdap extends ImportSourceHook
public function fetchData()
{
$columns = $this->listColumns();
$query = $this->connection()->select()->from($this->settings['objectclass'], $columns);
$query = $this->connection()
->select()
->setUsePagedResults()
->from($this->settings['objectclass'], $columns);
if ($base = $this->settings['base']) {
$query->setBase($base);