Most of the time, this is the result of a misconfiguration by the admin
and is not what is expected.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
$altName = $this->createAltInternalOwnCloudName($intName, $isUser);
if (is_string($altName)) {
if ($this->mapAndAnnounceIfApplicable($mapper, $fdn, $altName, $uuid, $isUser)) {
+ $this->logger->warning(
+ 'Mapped {fdn} as {altName} because of a name collision on {intName}.',
+ [
+ 'fdn' => $fdn,
+ 'altName' => $altName,
+ 'intName' => $intName,
+ 'app' => 'user_ldap',
+ ]
+ );
$newlyMapped = true;
return $altName;
}