From e1302797e8eb071a45596eae133c1715c0134790 Mon Sep 17 00:00:00 2001 From: katagia Date: Tue, 16 Sep 2003 16:14:43 +0000 Subject: [PATCH] added sambaGroupType to modify if sambaGRoupMap object wasn'T set --- lam/lib/account.inc | 1 + lam/templates/account/groupedit.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index c05946c2..723ccfbd 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -1681,6 +1681,7 @@ function modifygroup($values,$values_old) { // Will modify the LDAP-Group if (($_SESSION['config']->samba3 == 'yes') && (!in_array('sambaGroupMapping', $values->general_objectClass))) { if (!isset($attr['objectClass'])) $attr['objectClass'] = $values->general_objectClass; $attr['objectClass'][] = 'sambaGroupMapping'; + $attr['sambaGroupType'] = '2'; } if ($attr_rem) { // Remove attributes not longer valid diff --git a/lam/templates/account/groupedit.php b/lam/templates/account/groupedit.php index 6a36caaa..2983c352 100644 --- a/lam/templates/account/groupedit.php +++ b/lam/templates/account/groupedit.php @@ -330,7 +330,7 @@ switch ($select_local) { // Select which part of page will be loaded echo "\ngeneral_uidNumber."\">". "\n"._('Help'). "\n\n\n"; - echo _('Gecos'); + echo _('Description'); echo "\ngeneral_gecos."\">\n". ""._('Help')."\n\n\n"; echo _('Suffix'); echo "\n