summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f4f599)
raw | patch | inline | side by side (parent: 7f4f599)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 May 2005 10:08:45 +0000 (10:08 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 May 2005 10:08:45 +0000 (10:08 +0000) |
plugins/personal/samba/class_sambaAccount.inc | patch | blob | history | |
plugins/personal/samba/samba3.tpl | patch | blob | history |
diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc
index 8b5cf10a7bf1365e65fae675c577af22ebdcb15d..2fc31e6f52ebeac3e7d35cbe809ac2a5c050c301 100644 (file)
}
/* Checkboxes */
- foreach(array( "N" => "no_password_required",
- "D" => "temporary_disable") as $key => $val){
+ foreach(array(
+ "N" => "no_password_required",
+ "D" => "temporary_disable",
+ "L" => "automatically_disable")
+ as $key => $val){
if (is_integer(strpos($this->sambaAcctFlags, "$key"))) {
$smarty->assign("flags$key", "checked");
} else {
$smarty->assign("flagsC", "checked");
}
if ($this->logon_time_set=="1"){
- $smarty->assign("flagsL", "checked");
+ $smarty->assign("flagsT", "checked");
}
if ($this->logoff_time_set=="1"){
$smarty->assign("flagsO", "checked");
index ceea6c9f152d11f318170060577d84b2c2a5a4ab..93e5d20ff5071ead20acb3bd8362fc03b4fc4758 100644 (file)
<br>
<input type=checkbox name="temporary_disable" value="1" {$flagsD} {$temporary_disableACL}>
{t}Temporary disable samba account{/t}
+ <br>
+ <input type=checkbox name="automatically_disable" value="1" {$flagsL} {$automatically_disableACL}>
+ {t}Lock samba account{/t}
<br>
<input type=checkbox name="password_expires" value="1" {$flagsC} {$password_expiresACL}>
{t}Password expires on{/t}
{html_options values=$years output=$years selected=$year}
</select>
<br>
- <input type=checkbox name="logon_time_set" value="1" {$flagsL} {$logon_time_setACL}>
+ <input type=checkbox name="logon_time_set" value="1" {$flagsT} {$logon_time_setACL}>
{t}Limit Logon Time{/t}
<select name=sambaLogonTime_day onChange="createResult_sambaLogonTime(this.form,this.form.sambaLogonTime);" {$sambaLogonTimeACL}>
{html_options values=$sambaLogonTime_days output=$sambaLogonTime_days selected=$sambaLogonTime_day}
<td style="vertical-align:top;">
{t}Allow connection from these workstations only{/t}
<br>
- <select style="width:350px;" name="workstation_list[]" size=8 multiple {$sambaUserWorkstationACL}>
+ <select style="width:350px;" name="workstation_list[]" size=10 multiple {$sambaUserWorkstationACL}>
{html_options values=$workstations output=$workstations}
</select>
<br>