Code

Updated krb template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Apr 2008 07:31:46 +0000 (07:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Apr 2008 07:31:46 +0000 (07:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10734 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/default/pwd_kerberos_mit.tpl

index 22b4fc4ca421ca16f93c12de08f7ad2c2c498b74..eeda58e72b43c3f84dd1f4cb39fd3f4db508a284 100644 (file)
@@ -3,28 +3,27 @@
                <td style="width:50%;vertical-align:top;">
                        <h2>{t}Heimdal options{/t}</h2>
                        <i>{t}Use empty values for infinite{/t}</i>
-                       <table>
+                       <table style="width:100%;">
                                <tr>
                                        <td>
-                                               <label for="MAXLIFE">{t}Ticket max life{/t}</label>
+                                               <label for="MAX_LIFE">{t}Ticket max life{/t}</label>
                                        </td>
                                        <td colspan="6">
-                                               <input id="MAXLIFE" type="text" name="MAXLIFE" value="{$MAXLIFE}"> 
+                                               <input id="MAX_LIFE" type="text" name="MAX_LIFE" value="{$MAX_LIFE}"> 
                                        </td>
                                </tr>
                                <tr>
                                        <td>
-                                               <label for="MAXRENEWLIFE">{t}Ticket max renew{/t}</label>
+                                               <label for="MAX_RENEWABLE_LIFE">{t}Ticket max renew{/t}</label>
                                        </td>
                                        <td colspan="6">
-                                               <input id="MAXRENEWLIFE" type="text" name="MAXRENEWLIFE" value="{$MAXRENEWLIFE}">
-                                       </td>
-                               </tr>
-                               <tr>
-                                       <td colspan="7">
-                                               &nbsp;
+                                               <input id="MAX_RENEWABLE_LIFE" type="text" name="MAX_RENEWABLE_LIFE" value="{$MAX_RENEWABLE_LIFE}">
                                        </td>
                                </tr>
+                       </table>
+                       <br>
+                       <br>
+                       <table>
                                <tr>
                                        <td>
                                        </td>
                                </tr>
                                <tr>
                                        <td>
-                                               <label for="EXPIRE">{t}Valid ticket end time{/t}</label>
+                                               <label for="PRINC_EXPIRE_TIME">{t}Valid ticket end time{/t}</label>
                                        </td>
                                        <td>
-                                               <input type="checkbox" name="EXPIRE_clear" 
-                                                       onClick="       changeState('EXPIRE_y');
-                                                                               changeState('EXPIRE_m');
-                                                                               changeState('EXPIRE_d');
-                                                                               changeState('EXPIRE_h');
-                                                                               changeState('EXPIRE_i');"
-                                                       {if $EXPIRE_clear} checked {/if}
+                                               <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="EXPIRE_h" id="EXPIRE_h" {if $EXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$hours selected=$EXPIRE_h}
+                                               <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="EXPIRE_i" id="EXPIRE_i" {if $EXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$minutes selected=$EXPIRE_i}
+                                               <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="EXPIRE_d" id="EXPIRE_d" {if $EXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$days selected=$EXPIRE_d}
+                                               <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="EXPIRE_m" id="EXPIRE_m" {if $EXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$month selected=$EXPIRE_m}
+                                               <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="EXPIRE_y" id="EXPIRE_y" {if $EXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$years selected=$EXPIRE_y}
+                                               <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="PWEXPIRE">{t}Password end{/t}</label>
+                                               <label for="PW_EXPIRATION">{t}Password end{/t}</label>
                                        </td>
                                        <td>
-                                               <input type="checkbox" name="PWEXPIRE_clear" 
-                                                       onClick="       changeState('PWEXPIRE_y');
-                                                                               changeState('PWEXPIRE_m');
-                                                                               changeState('PWEXPIRE_d');
-                                                                               changeState('PWEXPIRE_h');
-                                                                               changeState('PWEXPIRE_i');"
-                                                       {if $PWEXPIRE_clear} checked {/if}
+                                               <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="PWEXPIRE_h" id="PWEXPIRE_h" {if $PWEXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$hours selected=$PWEXPIRE_h}
+                                               <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="PWEXPIRE_i" id="PWEXPIRE_i" {if $PWEXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$minutes selected=$PWEXPIRE_i}
+                                               <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="PWEXPIRE_d" id="PWEXPIRE_d" {if $PWEXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$days selected=$PWEXPIRE_d}
+                                               <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="PWEXPIRE_m" id="PWEXPIRE_m" {if $PWEXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$month selected=$PWEXPIRE_m}
+                                               <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="PWEXPIRE_y" id="PWEXPIRE_y" {if $PWEXPIRE_clear} disabled {/if}>
-                                                       {html_options options=$years selected=$PWEXPIRE_y}
+                                               <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>
+                       <br>
+                       <br>
+                       <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} {/if}</td>
+                               </tr>
+                               <tr>
+                                       <td>{t}Last password change{/t}</td>
+                                       <td>{if !$LAST_PWD_CHANGE} {t}none{/t} {else} {$LAST_PWD_CHANGE} {/if}</td>
+                               </tr>
+                               <tr>
+                                       <td>{t}Last successful login{/t}</td>
+                                       <td>{if !$LAST_SUCCESS} {t}none{/t} {else} {$LAST_SUCCESS} {/if}</td>
+                               </tr>
+                               <tr>
+                                       <td>{t}Last modification date{/t}</td>
+                                       <td>{if !$MOD_DATE} {t}none{/t} {else} {$MOD_DATE} {/if}</td>
+                               </tr>
+                       </table>
+       
+       
                </td>   
-               <td>
+               <td style="vertical-align:top;">
                        <h2>Flags</h2>
                        <table width="100%">
                                <tr>
                                        <td style="width:50%;">
-<input {if $KRB5_KDB_DISALLOW_SVR} checked {/if} class="center"
-        name="KRB5_KDB_DISALLOW_SVR" value="1" type="checkbox">{t}Prohibit issuance of service tickets{/t}<br>
-<input {if $KRB5_KDB_DISALLOW_FORWARDABLE} checked {/if} class="center" 
-               name="KRB5_KDB_DISALLOW_FORWARDABLE" value="1" type="checkbox">{t}Prohibit forwardable tickets{/t}<br>
-<input {if $KRB5_KDB_DISALLOW_PROXIABLE} checked {/if} class="center" 
-               name="KRB5_KDB_DISALLOW_PROXIABLE" value="1" type="checkbox">{t}Disallow proxiable tickets{/t}<br>
-<input {if $KRB5_KDB_DISALLOW_RENEWABLE} checked {/if} class="center" 
-               name="KRB5_KDB_DISALLOW_RENEWABLE" value="1" type="checkbox">{t}Prohibit renewable tickets{/t}<br>
-<input {if $B5_KDB_DISALLOW_POSTDATED} checked {/if} class="center" 
-               name="B5_KDB_DISALLOW_POSTDATED" value="1" type="checkbox">{t}Pohibit postdated tickets{/t}<br>
-<input {if $KRB5_KDB_DISALLOW_TGT_BASED} checked {/if} class="center" 
-               name="KRB5_KDB_DISALLOW_TGT_BASED" value="1" type="checkbox">{t}Disallow Ticket-Granting Service{/t}<br>
-<input {if $KRB5_KDB_PWCHANGE_SERVICE} checked {/if} class="center" 
-               name="KRB5_KDB_PWCHANGE_SERVICE" value="1" type="checkbox">{t}Password change service{/t}<br>
-<input {if $KRB5_KDB_REQUIRES_PRE_AUTH} checked {/if} class="center" 
-               name="KRB5_KDB_REQUIRES_PRE_AUTH" value="1" type="checkbox">{t}Preauthentication required{/t}<br>
-<input {if $KRB5_KDB_REQUIRES_PWCHANGE} checked {/if} class="center" 
-               name="KRB5_KDB_REQUIRES_PWCHANGE" value="1" type="checkbox">{t}Force a password change{/t}<br>
-<input {if $KRB5_KDB_REQUIRES_HW_AUTH} checked {/if} class="center" 
-               name="KRB5_KDB_REQUIRES_HW_AUTH" value="1" type="checkbox">{t}Hardware preauthentication{/t}<br>
-<input {if $KRB5_KDB_DISALLOW_DUP_SKEY} checked {/if} class="center" 
-               name="KRB5_KDB_DISALLOW_DUP_SKEY" value="1" type="checkbox">{t}Disallow user to user authentification{/t}<br>
-<input {if $KRB5_KDB_DISALLOW_ALL_TIX} checked {/if} class="center" 
-               name="KRB5_KDB_DISALLOW_ALL_TIX" value="1" type="checkbox">{t}Forbid ticket issuance{/t}<br>
+<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>