summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e518b54)
raw | patch | inline | side by side (parent: e518b54)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Jul 2010 10:10:24 +0000 (10:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Jul 2010 10:10:24 +0000 (10:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19033 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/samba/personal/samba/class_sambaAccount.inc | patch | blob | history | |
gosa-plugins/samba/personal/samba/samba3.tpl | patch | blob | history |
diff --git a/gosa-plugins/samba/personal/samba/class_sambaAccount.inc b/gosa-plugins/samba/personal/samba/class_sambaAccount.inc
index 1ea64c29e873cca5eb0a3a511c5e8c9aa621d462..39695c420f1bfbc9b8a877363add0c1371923a16 100644 (file)
$this->save_object();
plugin::multiple_save_object();
foreach(array("allow_pwchange","tslogin","CtxWFHomeDir","CtxWFHomeDirDrive","CtxWFProfilePath",
- "inherit","CtxWorkDirectory","CtxInitialProgram","CtxMaxConnectionTimeF","CtxMaxConnectionTime","CtxMaxDisconnectionTimeF",
+ "inherit","CtxWorkDirectory","CtxInitialProgram","CtxMaxConnectionTimeF",
+ "CtxMaxConnectionTime","CtxMaxDisconnectionTimeF",
"CtxMaxDisconnectionTime","CtxMaxIdleTimeF","CtxMaxIdleTime","connectclientdrives",
"onnectclientprinters","defaultprinter","shadow","brokenconn",
- "reconn","allow_pwchange","connectclientprinters","no_expiry","no_password_required","temporary_disable",
- "password_expires","logon_time_set","logoff_time_set","kickoff_time_set","SetSambaLogonHours",
- "workstation_list","enforcePasswordChange","cannotChangePassword") as $attr){
- if(isset($_POST["use_".$attr])){
+ "reconn","connectclientprinters","SetSambaLogonHours","workstation_list",
+ "enforcePasswordChange", "passwordNeverExpires", "noPasswordRequired",
+ "temporaryDisabled","cannotChangePassword"
+ ) as $attr){
+ if(isset($_POST["use_".$attr]) || isset($_POST["use_flag_".$attr]) ){
$this->multi_boxes[] = $attr;
}
}
diff --git a/gosa-plugins/samba/personal/samba/samba3.tpl b/gosa-plugins/samba/personal/samba/samba3.tpl
index f631d7250c1929fbb0b6a467a3e14308a3cde370..750738e54b2c3234eb348231957546605aea508d 100644 (file)
<tr>
<td>
{render acl=$passwordNeverExpiresACL checkbox=$multiple_support checked=$use_passwordNeverExpires}
- <input type='checkbox' value='1 'name="flag_passwordNeverExpires"
+ <input type='checkbox' value='1' name="flag_passwordNeverExpires"
{if $flag_passwordNeverExpires} checked {/if} id='flag_passwordNeverExpires'>
{/render}
</td>