mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Merge pull request #20046 from nextcloud/backport/20039/stable18
[stable18] fixes auto-detecting UUID attributes
This commit is contained in:
commit
e7a2c7b1b9
1 changed files with 0 additions and 4 deletions
|
|
@ -1734,7 +1734,6 @@ class Access extends LDAPUtility {
|
|||
$this->connection->$uuidAttr = $attribute;
|
||||
return true;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
$value = $this->readAttribute($dn, $attribute);
|
||||
|
|
@ -1750,9 +1749,6 @@ class Access extends LDAPUtility {
|
|||
$this->connection->$uuidAttr = $attribute;
|
||||
$this->connection->writeToCache($uuidAttr, $attribute);
|
||||
return true;
|
||||
} elseif ($value === false) {
|
||||
// record not available
|
||||
return false;
|
||||
}
|
||||
}
|
||||
\OC::$server->getLogger()->debug('Could not autodetect the UUID attribute', ['app' => 'user_ldap']);
|
||||
|
|
|
|||
Loading…
Reference in a new issue