From: hickert Date: Mon, 11 Apr 2011 08:34:18 +0000 (+0000) Subject: -Re-added input field for sambaKickoffTime X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a4426f6ac3c1b65bac6b0b9bd7b84b73050d0a62;p=gosa.git -Re-added input field for sambaKickoffTime git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20675 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc b/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc index fef9a66da..88b9fc2dd 100644 --- a/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc +++ b/gosa-plugins/netatalk/personal/netatalk/class_netatalk.inc @@ -102,6 +102,10 @@ class netatalk extends plugin { $this->get_netatalk_shares(); $this->apple_user_share = $this->selectedshare; + if(!$this->is_account){ + $this->apple_user_share = key($this->shares); + } + /* Save initial account state */ $this->initially_was_account = $this->is_account; } diff --git a/gosa-plugins/samba/personal/samba/samba3.tpl b/gosa-plugins/samba/personal/samba/samba3.tpl index c6eba8909..d0ae6d52d 100644 --- a/gosa-plugins/samba/personal/samba/samba3.tpl +++ b/gosa-plugins/samba/personal/samba/samba3.tpl @@ -377,6 +377,34 @@ {render acl=$cannotChangePasswordACL checkbox=$multiple_support checked=$use_cannotChangePassword} + + + + + + {/render}
+ {render acl=$sambaKickoffTimeACL checkbox=$multiple_support checked=$use_sambaKickoffTime} + + {/render} + + + {render acl=$sambaKickoffTimeACL} + + {if $sambaKickoffTimeACL|regex_replace:"/[cdmr]/":"" == "w"} + + {/if} + {/render} +