From 2bb9df6143109bae8abf8b588f549a3198a2dc71 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 Jul 2006 09:15:32 +0000 Subject: [PATCH] Updated templates for posix git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4253 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/posix/class_posixAccount.inc | 2 +- plugins/personal/posix/generic.tpl | 29 +++++++++- plugins/personal/posix/posix_shadow.tpl | 58 ++++++++++++++++--- 3 files changed, 78 insertions(+), 11 deletions(-) diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index 5fe42c89e..c56e30502 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -401,7 +401,7 @@ class posixAccount extends plugin /* remove already assigned groups */ $glist= array(); foreach ($this->grouplist as $key => $value){ - if (!isset($this->groupMembership[$key])){ + if (!isset($this->groupMembership[$key]) && obj_is_writable($key,"group","memberUid")){ $glist[$key]= $value; } } diff --git a/plugins/personal/posix/generic.tpl b/plugins/personal/posix/generic.tpl index 83b3083bc..54d00438f 100644 --- a/plugins/personal/posix/generic.tpl +++ b/plugins/personal/posix/generic.tpl @@ -6,23 +6,29 @@ {$must} + {render acl=$homeDirectoryACL} + {/render} + {render acl=$loginShellACL} + {/render} + {render acl=$gidNumberACL} + {/render} @@ -33,7 +39,9 @@ @@ -52,7 +62,9 @@
+ {render acl=$gidNumberACL} + {/render} @@ -43,7 +51,9 @@ + {render acl=$gidNumberACL} + {/render}
+ {render acl=$gidNumberACL} + {/render}
@@ -66,12 +78,18 @@ {t}(Warning: more than 16 groups are not supported by NFS!){/t}
{/if} + {render acl=$gidNumberACL} + {/render}
+ {render acl=$gidNumberACL}   + {/render} + {render acl=$gidNumberACL} + {/render} @@ -89,20 +107,29 @@

{t}System trust{/t}

- {t}Trust mode{/t}  {html_options options=$trustmodes selected=$trustmode} + {/render} + {render acl=$gidNumberACL} + {/render}
+ {render acl=$gidNumberACL}   + {/render} + {render acl=$gidNumberACL} + {/render} diff --git a/plugins/personal/posix/posix_shadow.tpl b/plugins/personal/posix/posix_shadow.tpl index 2cf44ea82..c489d2116 100644 --- a/plugins/personal/posix/posix_shadow.tpl +++ b/plugins/personal/posix/posix_shadow.tpl @@ -1,33 +1,73 @@
- + + +{render acl=$must_change_passwordACL} + +{/render} {t}User must change password on first login{/t}
- + + +{render acl=$shadowMinACL} + +{/render} +{render acl=$shadowMinACL} {$shadowmins} +{/render}
- + + +{render acl=$shadowMaxACL} + +{/render} +{render acl=$shadowMaxACL} {$shadowmaxs} +{/render}
- + + +{render acl=$shadowExpireACL} + +{/render} {t}Password expires on{/t} - {html_options values=$days output=$days selected=$day} - {html_options options=$months selected=$month} - {html_options values=$years output=$years selected=$year} +{/render} +{render acl=$must_change_passwordACL} +{/render}
- + + +{render acl=$shadowInactiveACL} + +{/render} +{render acl=$shadowInactiveACL} {$shadowinactives} +{/render}
- + + +{render acl=$shadowWarningACL} + +{/render} +{render acl=$shadowWarningACL} {$shadowwarnings} +{/render}
-- 2.30.2