From 75c686d825edc6cd9259cc1cf5aae60ef58024b9 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 17 Apr 2020 14:56:53 +0200 Subject: do not run paged results against ldap_read ops on PHP7.3+ - previously it was needed as the PHP LDAP handling of paged results was strange - but now the read operation would fail, e.g. with extra home dir attribute set ("Home dir attribute can't be read from LDAP for uid: foobar" Signed-off-by: Arthur Schiwon --- apps/user_ldap/lib/PagedResults/Php73.php | 1 - 1 file changed, 1 deletion(-) (limited to 'apps') diff --git a/apps/user_ldap/lib/PagedResults/Php73.php b/apps/user_ldap/lib/PagedResults/Php73.php index f431365ff18..014a7b1caa7 100644 --- a/apps/user_ldap/lib/PagedResults/Php73.php +++ b/apps/user_ldap/lib/PagedResults/Php73.php @@ -135,7 +135,6 @@ class Php73 implements IAdapter { $this->linkData[$linkId]['readArgs'] = func_get_args(); $this->linkData[$linkId]['readArgs'][] = 0; // $attrsonly default $this->linkData[$linkId]['readArgs'][] = -1; // $sizelimit default - $this->preparePagesResultsArgs($linkId, 'readArgs'); } public function getReadArgs($link): array { -- cgit v1.2.3