From 4ee588794a72c98eeb10d640606e6e6099e2c4cc Mon Sep 17 00:00:00 2001 From: katagia Date: Tue, 16 Sep 2003 16:49:35 +0000 Subject: [PATCH] *** empty log message *** --- lam/templates/account/groupedit.php | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lam/templates/account/groupedit.php b/lam/templates/account/groupedit.php index 922ca2b1..564b1a34 100644 --- a/lam/templates/account/groupedit.php +++ b/lam/templates/account/groupedit.php @@ -105,13 +105,6 @@ switch ($_POST['select']) { // Select which part of page should be loaded and ch (2 * $_POST['f_general_uidNumber'] + $_SESSION['account']->smb_domain->RIDbase +1); } } - else { - $temp = explode('-', $_SESSION['account']->smb_mapgroup); - $SID = $temp[0].'-'.$temp[1].'-'.$temp[2].'-'.$temp[3].'-'.$temp[4].'-'.$temp[5].'-'.$temp[6]; - if ( $temp[7]!='512' && $temp[7]!='513' && $temp[7]!='514' ) - $_SESSION['account']->smb_mapgroup = $_SESSION['account']->smb_domain->SID . "-". - (2 * $_POST['f_general_uidNumber'] + $_SESSION['account']->smb_domain->RIDbase +1); - } $_SESSION['account']->general_dn = $_POST['f_general_suffix']; $_SESSION['account']->general_username = $_POST['f_general_username']; @@ -551,6 +544,10 @@ switch ($select_local) { // Select which part of page will be loaded echo ''; StatusMessage('WARN', _('ObjectClass sambaGroupMapping not found.'), _('Have to add objectClass sambaGroupMapping.')); echo "\n"; + $disabled = "disabled"; + echo ""; + StatusMessage("ERROR", _("Samba Options not set!"), _("Please check settings on samba page.")); + echo ""; } if (!in_array('posixGroup', $_SESSION['account_old']->general_objectClass)) { echo '';