summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/user_ldap/lib/Access.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index 1cc0c62ff1d..d3510e7a398 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -589,6 +589,15 @@ class Access extends LDAPUtility {
$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;
}