summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-05-03 14:11:06 +0200
committerArthur Schiwon <blizzz@owncloud.com>2013-05-03 14:11:06 +0200
commit22a8e7ad55629eb5b14b286dcbb99ab2611a2b67 (patch)
tree2d5e82f551030dbd9d2c97d79167ac81c4206d17 /apps
parent9c3b83e28c8a10f9ad38d3487dae1a3bc9601635 (diff)
downloadnextcloud-server-22a8e7ad55629eb5b14b286dcbb99ab2611a2b67.tar.gz
nextcloud-server-22a8e7ad55629eb5b14b286dcbb99ab2611a2b67.zip
LDAP: remove restriction from group names to be in line with core behaviour again
Diffstat (limited to 'apps')
-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