From e5f035c537d9d33bbe6c3ad44385994d3a90d7d5 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 29 Sep 2015 12:08:17 +0200 Subject: [PATCH] LdapConnection: Do not apply any custom vodoo on a ldap resource object refs #9772 --- library/Icinga/Protocol/Ldap/LdapConnection.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/Icinga/Protocol/Ldap/LdapConnection.php b/library/Icinga/Protocol/Ldap/LdapConnection.php index 05d8b1032..3c5a3e276 100644 --- a/library/Icinga/Protocol/Ldap/LdapConnection.php +++ b/library/Icinga/Protocol/Ldap/LdapConnection.php @@ -933,9 +933,6 @@ class LdapConnection implements Selectable, Inspectable // the server: https://www.ietf.org/rfc/rfc2696.txt ldap_control_paged_result($ds, 0, false, $cookie); ldap_search($ds, $base, $queryString); // Returns no entries, due to the page size - } else { - // Reset the paged search request so that subsequent requests succeed - ldap_control_paged_result($ds, 0); } if (! $serverSorting && $query->hasOrder()) {