Code

Do not create admin groups with spaces. Closes #589
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Nov 2008 09:45:15 +0000 (09:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Nov 2008 09:45:15 +0000 (09:45 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13014 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep_Migrate.inc

index 89b2dc60a1d8ea44d08e8af8762f49ab6c58f81a..50fa53eedfa9545531ec9124b66154aafc846fd5 100644 (file)
@@ -942,14 +942,14 @@ class Step_Migrate extends setup_step
           $group_ou = trim($group_ou).",";
         }
 
-        $new_group_dn = "cn=GOsa Administrators,".$group_ou.$cv['base'];
+        $new_group_dn = "cn=gosa_administrators,".$group_ou.$cv['base'];
        if ($cv['rfc2307bis']){
                $new_group_attrs['objectClass'] = array("gosaObject","posixGroup", "groupOfNames");
                $new_group_attrs['member'][] = $dn;
        } else {
                $new_group_attrs['objectClass'] = array("gosaObject","posixGroup");
        }
-        $new_group_attrs['cn'] = "GOsa Administrators";
+        $new_group_attrs['cn'] = "gosa_administrators";
         $new_group_attrs['gosaSubtreeACL'] = ":all";
         $new_group_attrs['gidNumber'] = "999";
         $new_group_attrs['memberUid'] = array($object_attrs['uid'][0]);