Browse Source

Merge pull request #20039 from nextcloud/fix/19549/fix-uuid-attr-detection

fixes auto-detecting UUID attributes
tags/v19.0.0beta1
blizzz 4 years ago
parent
commit
5817047c3e
No account linked to committer's email address
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      apps/user_ldap/lib/Access.php

+ 0
- 4
apps/user_ldap/lib/Access.php View File

@@ -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…
Cancel
Save