]> source.dussan.org Git - nextcloud-server.git/commitdiff
LDAP: remove restriction from group names to be in line with core behaviour again
authorArthur Schiwon <blizzz@owncloud.com>
Fri, 3 May 2013 12:11:06 +0000 (14:11 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Fri, 3 May 2013 13:07:10 +0000 (15:07 +0200)
apps/user_ldap/lib/access.php

index 6d32e9b2ab029cd619b2c7f45c8394f936ad8887..6794e424fdc7293e21aa51cee949a5670ced7953 100644 (file)
@@ -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