Merge pull request #3229 from owncloud/fix_3210

LDAP: remove restriction from group names to be in line with core behavi...
This commit is contained in:
Bart Visscher 2013-05-03 06:04:24 -07:00
commit e0f6d159d6
1 changed files with 1 additions and 1 deletions

View 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