From: hickert Date: Mon, 24 Nov 2008 09:45:15 +0000 (+0000) Subject: Do not create admin groups with spaces. Closes #589 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4f08675a6c6092f19209ce09d2ab58dad6b3524b;p=gosa.git Do not create admin groups with spaces. Closes #589 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@13014 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Migrate.inc b/setup/class_setupStep_Migrate.inc index 89b2dc60a..50fa53eed 100644 --- a/setup/class_setupStep_Migrate.inc +++ b/setup/class_setupStep_Migrate.inc @@ -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]);