summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fcb2769)
raw | patch | inline | side by side (parent: fcb2769)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 May 2008 08:11:26 +0000 (08:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 May 2008 08:11:26 +0000 (08:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10803 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/heimdal/admin/systems/services/kerberos/pwd_heimdal.tpl | [new file with mode: 0644] | patch | blob |
gosa-plugins/heimdal/admin/systems/services/kerberos/pwd_kerberos_mit.tpl | [new file with mode: 0644] | patch | blob |
diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/pwd_heimdal.tpl b/gosa-plugins/heimdal/admin/systems/services/kerberos/pwd_heimdal.tpl
--- /dev/null
@@ -0,0 +1,201 @@
+
+<table style="width:100%;">
+ <tr>
+ <td style="width:50%;vertical-align:top;">
+ <h2>{t}Heimdal options{/t}</h2>
+ <i>{t}Use empty values for infinite{/t}</i>
+ <table>
+ <tr>
+ <td>
+ <label for="krb5MaxLife">{t}Ticket max life{/t}</label>
+ </td>
+ <td colspan="6">
+ <input id="krb5MaxLife" type="text" name="krb5MaxLife" value="{$krb5MaxLife}">
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="krb5MaxRenew">{t}Ticket max renew{/t}</label>
+ </td>
+ <td colspan="6">
+ <input id="krb5MaxRenew" type="text" name="krb5MaxRenew" value="{$krb5MaxRenew}">
+ </td>
+ </tr>
+ <tr>
+ <td colspan="7">
+
+ </td>
+ </tr>
+ <tr>
+ <td>
+ </td>
+ <td style="width:40px;"><i>{t}infinite{/t}</i>
+ </td>
+ <td><i>{t}Hour{/t}</i>
+ </td>
+ <td style="width:60px;"><i>{t}Minute{/t}</i>
+ </td>
+ <td><i>{t}Day{/t}</i>
+ </td>
+ <td><i>{t}Month{/t}</i>
+ </td>
+ <td><i>{t}Year{/t}</i>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="krb5ValidStart">{t}Valid ticket start time{/t}</label>
+ </td>
+ <td>
+ <input type="checkbox" name="krb5ValidStart_clear"
+ onClick=" changeState('krb5ValidStart_y');
+ changeState('krb5ValidStart_m');
+ changeState('krb5ValidStart_d');
+ changeState('krb5ValidStart_h');
+ changeState('krb5ValidStart_i');"
+ {if $krb5ValidStart_clear} checked {/if}
+ >
+ </td>
+ <td>
+ <select name="krb5ValidStart_h" id="krb5ValidStart_h" {if $krb5ValidStart_clear} disabled {/if}>
+ {html_options options=$hours selected=$krb5ValidStart_h}
+ </select>
+ </td>
+ <td>
+ <select name="krb5ValidStart_i" id="krb5ValidStart_i" {if $krb5ValidStart_clear} disabled {/if}>
+ {html_options options=$minutes selected=$krb5ValidStart_i}
+ </select>
+ </td>
+ <td>
+ <select name="krb5ValidStart_d" id="krb5ValidStart_d" {if $krb5ValidStart_clear} disabled {/if}>
+ {html_options options=$days selected=$krb5ValidStart_d}
+ </select>
+ </td>
+ <td>
+ <select name="krb5ValidStart_m" id="krb5ValidStart_m" {if $krb5ValidStart_clear} disabled {/if}>
+ {html_options options=$month selected=$krb5ValidStart_m}
+ </select>
+ </td>
+ <td>
+ <select name="krb5ValidStart_y" id="krb5ValidStart_y" {if $krb5ValidStart_clear} disabled {/if}>
+ {html_options options=$years selected=$krb5ValidStart_y}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="krb5ValidEnd">{t}Valid ticket end time{/t}</label>
+ </td>
+ <td>
+ <input type="checkbox" name="krb5ValidEnd_clear"
+ onClick=" changeState('krb5ValidEnd_y');
+ changeState('krb5ValidEnd_m');
+ changeState('krb5ValidEnd_d');
+ changeState('krb5ValidEnd_h');
+ changeState('krb5ValidEnd_i');"
+ {if $krb5ValidEnd_clear} checked {/if}
+ >
+ </td>
+ <td>
+ <select name="krb5ValidEnd_h" id="krb5ValidEnd_h" {if $krb5ValidEnd_clear} disabled {/if}>
+ {html_options options=$hours selected=$krb5ValidEnd_h}
+ </select>
+ </td>
+ <td>
+ <select name="krb5ValidEnd_i" id="krb5ValidEnd_i" {if $krb5ValidEnd_clear} disabled {/if}>
+ {html_options options=$minutes selected=$krb5ValidEnd_i}
+ </select>
+ </td>
+ <td>
+ <select name="krb5ValidEnd_d" id="krb5ValidEnd_d" {if $krb5ValidEnd_clear} disabled {/if}>
+ {html_options options=$days selected=$krb5ValidEnd_d}
+ </select>
+ </td>
+ <td>
+ <select name="krb5ValidEnd_m" id="krb5ValidEnd_m" {if $krb5ValidEnd_clear} disabled {/if}>
+ {html_options options=$month selected=$krb5ValidEnd_m}
+ </select>
+ </td>
+ <td>
+ <select name="krb5ValidEnd_y" id="krb5ValidEnd_y" {if $krb5ValidEnd_clear} disabled {/if}>
+ {html_options options=$years selected=$krb5ValidEnd_y}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="krb5PasswordEnd">{t}Password end{/t}</label>
+ </td>
+ <td>
+ <input type="checkbox" name="krb5PasswordEnd_clear"
+ onClick=" changeState('krb5PasswordEnd_y');
+ changeState('krb5PasswordEnd_m');
+ changeState('krb5PasswordEnd_d');
+ changeState('krb5PasswordEnd_h');
+ changeState('krb5PasswordEnd_i');"
+ {if $krb5PasswordEnd_clear} checked {/if}
+ >
+ </td>
+ <td>
+ <select name="krb5PasswordEnd_h" id="krb5PasswordEnd_h" {if $krb5PasswordEnd_clear} disabled {/if}>
+ {html_options options=$hours selected=$krb5PasswordEnd_h}
+ </select>
+ </td>
+ <td>
+ <select name="krb5PasswordEnd_i" id="krb5PasswordEnd_i" {if $krb5PasswordEnd_clear} disabled {/if}>
+ {html_options options=$minutes selected=$krb5PasswordEnd_i}
+ </select>
+
+ </td>
+ <td>
+ <select name="krb5PasswordEnd_d" id="krb5PasswordEnd_d" {if $krb5PasswordEnd_clear} disabled {/if}>
+ {html_options options=$days selected=$krb5PasswordEnd_d}
+ </select>
+ </td>
+ <td>
+ <select name="krb5PasswordEnd_m" id="krb5PasswordEnd_m" {if $krb5PasswordEnd_clear} disabled {/if}>
+ {html_options options=$month selected=$krb5PasswordEnd_m}
+ </select>
+ </td>
+ <td>
+ <select name="krb5PasswordEnd_y" id="krb5PasswordEnd_y" {if $krb5PasswordEnd_clear} disabled {/if}>
+ {html_options options=$years selected=$krb5PasswordEnd_y}
+ </select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td>
+ <h2>Flags</h2>
+ <table>
+ <tr>
+ <td style="width:120px;">
+<input {if $krb5KDCFlags_0} checked {/if} class="center" name="krb5KDCFlags_0" value="1" type="checkbox">initial<br>
+<input {if $krb5KDCFlags_1} checked {/if} class="center" name="krb5KDCFlags_1" value="1" type="checkbox">forwardable<br>
+<input {if $krb5KDCFlags_2} checked {/if} class="center" name="krb5KDCFlags_2" value="1" type="checkbox">proxiable<br>
+<input {if $krb5KDCFlags_3} checked {/if} class="center" name="krb5KDCFlags_3" value="1" type="checkbox">renewable<br>
+<input {if $krb5KDCFlags_4} checked {/if} class="center" name="krb5KDCFlags_4" value="1" type="checkbox">postdate<br>
+<input {if $krb5KDCFlags_5} checked {/if} class="center" name="krb5KDCFlags_5" value="1" type="checkbox">server<br>
+<input {if $krb5KDCFlags_6} checked {/if} class="center" name="krb5KDCFlags_6" value="1" type="checkbox">client<br>
+ </td>
+ <td>
+<input {if $krb5KDCFlags_7} checked {/if} class="center" name="krb5KDCFlags_7" value="1" type="checkbox">invalid<br>
+<input {if $krb5KDCFlags_8} checked {/if} class="center" name="krb5KDCFlags_8" value="1" type="checkbox">require-preauth<br>
+<input {if $krb5KDCFlags_9} checked {/if} class="center" name="krb5KDCFlags_9" value="1" type="checkbox">change-pw<br>
+<input {if $krb5KDCFlags_10} checked {/if} class="center" name="krb5KDCFlags_10" value="1" type="checkbox">require-hwauth<br>
+<input {if $krb5KDCFlags_11} checked {/if} class="center" name="krb5KDCFlags_11" value="1" type="checkbox">ok-as-delegate<br>
+<input {if $krb5KDCFlags_12} checked {/if} class="center" name="krb5KDCFlags_12" value="1" type="checkbox">user-to-user<br>
+<input {if $krb5KDCFlags_13} checked {/if} class="center" name="krb5KDCFlags_13" value="1" type="checkbox">immutable<br>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<input type="hidden" name="pwd_heimdal_posted" value="1">
+<p class="seperator"></p>
+<p style="text-align:right;">
+ <input type="submit" name="pw_save" value="{t}Save{/t}">
+
+ <input type="submit" name="pw_abort" value="{t}Cancel{/t}">
+</p>
diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/pwd_kerberos_mit.tpl b/gosa-plugins/heimdal/admin/systems/services/kerberos/pwd_kerberos_mit.tpl
--- /dev/null
@@ -0,0 +1,247 @@
+
+{if $si_error}
+
+ <h2>{t}Heimdal options{/t}</h2>
+ <p>
+ {msgPool type=siError p1=$si_error_msg}
+ </p>
+ <input type="submit" value="{t}retry{/t}" name="retry_si">
+ <br>
+ <br>
+
+<p class="seperator"></p>
+<p style="text-align:right;">
+ <input type="submit" name="pw_abort" value="{t}Cancel{/t}">
+</p>
+{else}
+
+<table style="width:100%;">
+ <tr>
+ <td style="width:50%;vertical-align:top;">
+ <h2>{t}Heimdal options{/t}</h2>
+ <i>{t}Use empty values for infinite{/t}</i>
+ <table style="width:100%;">
+ <tr>
+ <td>
+ <label for="goKrbRealm">{t}Realm{/t}</label>
+ </td>
+ <td>
+ <select name="goKrbRealm" onChange="document.mainform.submit();">
+ {foreach from=$server_list item=item key=key}
+ {if $item.goKrbRealm==$goKrbRealm}
+ <option selected value="{$item.goKrbRealm}">{$item.goKrbRealm}</option>
+ {else}
+ <option value="{$item.goKrbRealm}">{$item.goKrbRealm}</option>
+ {/if}
+ {/foreach}
+ </select>
+ </td>
+ <tr>
+ </tr>
+ <td>
+ <label for="POLICY">{t}Policy{/t}</label>
+ </td>
+ <td>
+ <select name="POLICY">
+ {foreach from=$POLICIES item=item key=key}
+ {if $POLICY==$item}
+ <option selected value="{$key}">{$item}</option>
+ {else}
+ <option value="{$key}">{$item}</option>
+ {/if}
+ {/foreach}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="MAX_LIFE">{t}Ticket max life{/t}</label>
+ </td>
+ <td>
+ <input id="MAX_LIFE" type="text" name="MAX_LIFE" value="{$MAX_LIFE}">
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="MAX_RENEWABLE_LIFE">{t}Ticket max renew{/t}</label>
+ </td>
+ <td>
+ <input id="MAX_RENEWABLE_LIFE" type="text" name="MAX_RENEWABLE_LIFE" value="{$MAX_RENEWABLE_LIFE}">
+ </td>
+ </tr>
+ </table>
+ <p class='seperator'> </p>
+ <table>
+ <tr>
+ <td>
+ </td>
+ <td style="width:40px;"><i>{t}infinite{/t}</i>
+ </td>
+ <td><i>{t}Hour{/t}</i>
+ </td>
+ <td style="width:60px;"><i>{t}Minute{/t}</i>
+ </td>
+ <td><i>{t}Day{/t}</i>
+ </td>
+ <td><i>{t}Month{/t}</i>
+ </td>
+ <td><i>{t}Year{/t}</i>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="PRINC_EXPIRE_TIME">{t}Valid ticket end time{/t}</label>
+ </td>
+ <td>
+ <input type="checkbox" name="PRINC_EXPIRE_TIME_clear"
+ onClick=" changeState('PRINC_EXPIRE_TIME_y');
+ changeState('PRINC_EXPIRE_TIME_m');
+ changeState('PRINC_EXPIRE_TIME_d');
+ changeState('PRINC_EXPIRE_TIME_h');
+ changeState('PRINC_EXPIRE_TIME_i');"
+ {if $PRINC_EXPIRE_TIME_clear} checked {/if}
+ >
+ </td>
+ <td>
+ <select name="PRINC_EXPIRE_TIME_h" id="PRINC_EXPIRE_TIME_h" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}>
+ {html_options options=$hours selected=$PRINC_EXPIRE_TIME_h}
+ </select>
+ </td>
+ <td>
+ <select name="PRINC_EXPIRE_TIME_i" id="PRINC_EXPIRE_TIME_i" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}>
+ {html_options options=$minutes selected=$PRINC_EXPIRE_TIME_i}
+ </select>
+ </td>
+ <td>
+ <select name="PRINC_EXPIRE_TIME_d" id="PRINC_EXPIRE_TIME_d" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}>
+ {html_options options=$days selected=$PRINC_EXPIRE_TIME_d}
+ </select>
+ </td>
+ <td>
+ <select name="PRINC_EXPIRE_TIME_m" id="PRINC_EXPIRE_TIME_m" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}>
+ {html_options options=$month selected=$PRINC_EXPIRE_TIME_m}
+ </select>
+ </td>
+ <td>
+ <select name="PRINC_EXPIRE_TIME_y" id="PRINC_EXPIRE_TIME_y" {if $PRINC_EXPIRE_TIME_clear} disabled {/if}>
+ {html_options options=$years selected=$PRINC_EXPIRE_TIME_y}
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <label for="PW_EXPIRATION">{t}Password end{/t}</label>
+ </td>
+ <td>
+ <input type="checkbox" name="PW_EXPIRATION_clear"
+ onClick=" changeState('PW_EXPIRATION_y');
+ changeState('PW_EXPIRATION_m');
+ changeState('PW_EXPIRATION_d');
+ changeState('PW_EXPIRATION_h');
+ changeState('PW_EXPIRATION_i');"
+ {if $PW_EXPIRATION_clear} checked {/if}
+ >
+ </td>
+ <td>
+ <select name="PW_EXPIRATION_h" id="PW_EXPIRATION_h" {if $PW_EXPIRATION_clear} disabled {/if}>
+ {html_options options=$hours selected=$PW_EXPIRATION_h}
+ </select>
+ </td>
+ <td>
+ <select name="PW_EXPIRATION_i" id="PW_EXPIRATION_i" {if $PW_EXPIRATION_clear} disabled {/if}>
+ {html_options options=$minutes selected=$PW_EXPIRATION_i}
+ </select>
+
+ </td>
+ <td>
+ <select name="PW_EXPIRATION_d" id="PW_EXPIRATION_d" {if $PW_EXPIRATION_clear} disabled {/if}>
+ {html_options options=$days selected=$PW_EXPIRATION_d}
+ </select>
+ </td>
+ <td>
+ <select name="PW_EXPIRATION_m" id="PW_EXPIRATION_m" {if $PW_EXPIRATION_clear} disabled {/if}>
+ {html_options options=$month selected=$PW_EXPIRATION_m}
+ </select>
+ </td>
+ <td>
+ <select name="PW_EXPIRATION_y" id="PW_EXPIRATION_y" {if $PW_EXPIRATION_clear} disabled {/if}>
+ {html_options options=$years selected=$PW_EXPIRATION_y}
+ </select>
+ </td>
+ </tr>
+ </table>
+ <p class='seperator'> </p>
+ <h2>{t}Status{/t}</h2>
+ <table>
+ <tr>
+ <td style='width:160px;'>{t}Failed logins{/t}</td>
+ <td>{if !$FAIL_AUTH_COUNT} {t}none{/t} {else} {$FAIL_AUTH_COUNT} {/if}</td>
+ </tr>
+ <tr>
+ <td>{t}Key version number{/t}</td>
+ <td>{$KVNO}</td>
+ </tr>
+ <tr>
+ <td>{t}Last failed login{/t}</td>
+ <td>{if !$LAST_FAILED} {t}none{/t} {else} {$LAST_FAILED|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</td>
+ </tr>
+ <tr>
+ <td>{t}Last password change{/t}</td>
+ <td>{if !$LAST_PWD_CHANGE} {t}none{/t} {else} {$LAST_PWD_CHANGE|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</td>
+ </tr>
+ <tr>
+ <td>{t}Last successful login{/t}</td>
+ <td>{if !$LAST_SUCCESS} {t}none{/t} {else} {$LAST_SUCCESS|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</td>
+ </tr>
+ <tr>
+ <td>{t}Last modification date{/t}</td>
+ <td>{if !$MOD_DATE} {t}none{/t} {else} {$MOD_DATE|date_format:"%d.%m.%Y %H:%m:%S"} {/if}</td>
+ </tr>
+ </table>
+
+
+ </td>
+ <td style="vertical-align:top; border-left: solid 1px #BBBBBB; padding-left: 3px;">
+ <h2>Flags</h2>
+ <table width="100%">
+ <tr>
+ <td style="width:50%;">
+<input {if $DISALLOW_SVR} checked {/if} class="center"
+ name="DISALLOW_SVR" value="1" type="checkbox">{t}Prohibit issuance of service tickets{/t}<br>
+<input {if $DISALLOW_FORWARDABLE} checked {/if} class="center"
+ name="DISALLOW_FORWARDABLE" value="1" type="checkbox">{t}Prohibit forwardable tickets{/t}<br>
+<input {if $DISALLOW_PROXIABLE} checked {/if} class="center"
+ name="DISALLOW_PROXIABLE" value="1" type="checkbox">{t}Disallow proxiable tickets{/t}<br>
+<input {if $DISALLOW_RENEWABLE} checked {/if} class="center"
+ name="DISALLOW_RENEWABLE" value="1" type="checkbox">{t}Prohibit renewable tickets{/t}<br>
+<input {if $DISALLOW_POSTDATED} checked {/if} class="center"
+ name="DISALLOW_POSTDATED" value="1" type="checkbox">{t}Pohibit postdated tickets{/t}<br>
+<input {if $DISALLOW_TGT_BASED} checked {/if} class="center"
+ name="DISALLOW_TGT_BASED" value="1" type="checkbox">{t}Disallow Ticket-Granting Service{/t}<br>
+<input {if $PWCHANGE_SERVICE} checked {/if} class="center"
+ name="PWCHANGE_SERVICE" value="1" type="checkbox">{t}Password change service{/t}<br>
+<input {if $REQUIRES_PRE_AUTH} checked {/if} class="center"
+ name="REQUIRES_PRE_AUTH" value="1" type="checkbox">{t}Preauthentication required{/t}<br>
+<input {if $REQUIRES_PWCHANGE} checked {/if} class="center"
+ name="REQUIRES_PWCHANGE" value="1" type="checkbox">{t}Force a password change{/t}<br>
+<input {if $REQUIRES_HW_AUTH} checked {/if} class="center"
+ name="REQUIRES_HW_AUTH" value="1" type="checkbox">{t}Hardware preauthentication{/t}<br>
+<input {if $DISALLOW_DUP_SKEY} checked {/if} class="center"
+ name="DISALLOW_DUP_SKEY" value="1" type="checkbox">{t}Disallow user to user authentification{/t}<br>
+<input {if $DISALLOW_ALL_TIX} checked {/if} class="center"
+ name="DISALLOW_ALL_TIX" value="1" type="checkbox">{t}Forbid ticket issuance{/t}<br>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<input type="hidden" name="pwd_heimdal_posted" value="1">
+<p class="seperator"></p>
+<p style="text-align:right;">
+ <input type="submit" name="pw_save" value="{t}Save{/t}">
+
+ <input type="submit" name="pw_abort" value="{t}Cancel{/t}">
+</p>
+
+{/if}