Merge pull request #20048 from nextcloud/backport/20039/stable16
[stable16] fixes auto-detecting UUID attributes
This commit is contained in:
commit
25b78ac569
|
@ -1698,7 +1698,6 @@ class Access extends LDAPUtility {
|
|||
$this->connection->$uuidAttr = $attribute;
|
||||
return true;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
$value = $this->readAttribute($dn, $attribute);
|
||||
|
@ -1714,9 +1713,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 New Issue