summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-04-17 14:56:53 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-04-21 15:47:49 +0200
commit75c686d825edc6cd9259cc1cf5aae60ef58024b9 (patch)
tree03dc7c99455d5bb16c2eff33d6ecdef4aca2a5b0 /apps/user_ldap/lib
parent613f0f2c0c2f07ad084a64f85debe9f6845b78f2 (diff)
downloadnextcloud-server-75c686d825edc6cd9259cc1cf5aae60ef58024b9.tar.gz
nextcloud-server-75c686d825edc6cd9259cc1cf5aae60ef58024b9.zip
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 <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/PagedResults/Php73.php1
1 files changed, 0 insertions, 1 deletions
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 {