From: Arthur Schiwon Date: Fri, 3 May 2013 12:11:06 +0000 (+0200) Subject: LDAP: remove restriction from group names to be in line with core behaviour again X-Git-Tag: v5.0.6~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0639634782fcd0931827cf4230bdf0e1d94a122f;p=nextcloud-server.git LDAP: remove restriction from group names to be in line with core behaviour again --- 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