]> source.dussan.org Git - nextcloud-server.git/commitdiff
do not run paged results against ldap_read ops on PHP7.3+ 20536/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 17 Apr 2020 12:56:53 +0000 (14:56 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Tue, 21 Apr 2020 13:47:49 +0000 (15:47 +0200)
- 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>
apps/user_ldap/lib/PagedResults/Php73.php

index f431365ff1864ce9e3cec67a886efc1f25060afc..014a7b1caa71bfa4fe9bd0a5cc32b0b1b600c659 100644 (file)
@@ -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 {