summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-05-03 06:04:24 -0700
committerBart Visscher <bartv@thisnet.nl>2013-05-03 06:04:24 -0700
commite0f6d159d680226b83286d0f574930bcbe605281 (patch)
tree0c2df36ccb40e4994cffe81581beebdc2dca41ea
parenta541b805928e9d2a2af58a6c4b13ee9ad734617e (diff)
parent22a8e7ad55629eb5b14b286dcbb99ab2611a2b67 (diff)
downloadnextcloud-server-e0f6d159d680226b83286d0f574930bcbe605281.tar.gz
nextcloud-server-e0f6d159d680226b83286d0f574930bcbe605281.zip
Merge pull request #3229 from owncloud/fix_3210
LDAP: remove restriction from group names to be in line with core behavi...
-rw-r--r--apps/user_ldap/lib/access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php
index 6d32e9b2ab0..6794e424fdc 100644
--- a/apps/user_ldap/lib/access.php
+++ b/apps/user_ldap/lib/access.php
@@ -317,7 +317,7 @@ abstract class Access {
}
$ldapname = $ldapname[0];
}
- $intname = $isUser ? $this->sanitizeUsername($uuid) : $this->sanitizeUsername($ldapname);
+ $intname = $isUser ? $this->sanitizeUsername($uuid) : $ldapname;
//a new user/group! Add it only if it doesn't conflict with other backend's users or existing groups
//disabling Cache is required to avoid that the new user is cached as not-existing in fooExists check