summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40d3aef)
raw | patch | inline | side by side (parent: 40d3aef)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Dec 2007 07:41:27 +0000 (07:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Dec 2007 07:41:27 +0000 (07:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8033 594d385d-05f5-0310-b6e9-bd551577e9d8
ihtml/themes/default/pwd_heimdal.tpl | patch | blob | history | |
include/class_password-methods-heimdal.inc | patch | blob | history |
index 2707c3fe48ed405a2c71d9ca3171e9a646e34ab0..bdc58f6b7477fbcf4325f0dcb5d19b4c59564e61 100644 (file)
</td>
<td style="width:40px;"><i>{t}infinite{/t}</i>
</td>
- <td><i>{t}Year{/t}</i>
+ <td><i>{t}Hour{/t}</i>
</td>
- <td><i>{t}Month{/t}</i>
+ <td style="width:60px;"><i>{t}Minute{/t}</i>
</td>
<td><i>{t}Day{/t}</i>
</td>
- <td><i>{t}Hour{/t}</i>
+ <td><i>{t}Month{/t}</i>
</td>
- <td><i>{t}Minute{/t}</i>
+ <td><i>{t}Year{/t}</i>
</td>
</tr>
<tr>
>
</td>
<td>
- <select name="krb5ValidStart_y" id="krb5ValidStart_y" {if $krb5ValidStart_clear} disabled {/if}>
- {html_options options=$years selected=$krb5ValidStart_y}
+ <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_m" id="krb5ValidStart_m" {if $krb5ValidStart_clear} disabled {/if}>
- {html_options options=$month selected=$krb5ValidStart_m}
+ <select name="krb5ValidStart_i" id="krb5ValidStart_i" {if $krb5ValidStart_clear} disabled {/if}>
+ {html_options options=$minutes selected=$krb5ValidStart_i}
</select>
</td>
<td>
</select>
</td>
<td>
- <select name="krb5ValidStart_h" id="krb5ValidStart_h" {if $krb5ValidStart_clear} disabled {/if}>
- {html_options options=$hours selected=$krb5ValidStart_h}
+ <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_i" id="krb5ValidStart_i" {if $krb5ValidStart_clear} disabled {/if}>
- {html_options options=$minutes selected=$krb5ValidStart_i}
+ <select name="krb5ValidStart_y" id="krb5ValidStart_y" {if $krb5ValidStart_clear} disabled {/if}>
+ {html_options options=$years selected=$krb5ValidStart_y}
</select>
</td>
</tr>
>
</td>
<td>
- <select name="krb5ValidEnd_y" id="krb5ValidEnd_y" {if $krb5ValidEnd_clear} disabled {/if}>
- {html_options options=$years selected=$krb5ValidEnd_y}
+ <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_m" id="krb5ValidEnd_m" {if $krb5ValidEnd_clear} disabled {/if}>
- {html_options options=$month selected=$krb5ValidEnd_m}
+ <select name="krb5ValidEnd_i" id="krb5ValidEnd_i" {if $krb5ValidEnd_clear} disabled {/if}>
+ {html_options options=$minutes selected=$krb5ValidEnd_i}
</select>
</td>
<td>
</select>
</td>
<td>
- <select name="krb5ValidEnd_h" id="krb5ValidEnd_h" {if $krb5ValidEnd_clear} disabled {/if}>
- {html_options options=$hours selected=$krb5ValidEnd_h}
+ <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_i" id="krb5ValidEnd_i" {if $krb5ValidEnd_clear} disabled {/if}>
- {html_options options=$minutes selected=$krb5ValidEnd_i}
+ <select name="krb5ValidEnd_y" id="krb5ValidEnd_y" {if $krb5ValidEnd_clear} disabled {/if}>
+ {html_options options=$years selected=$krb5ValidEnd_y}
</select>
</td>
</tr>
>
</td>
<td>
- <select name="krb5PasswordEnd_y" id="krb5PasswordEnd_y" {if $krb5PasswordEnd_clear} disabled {/if}>
- {html_options options=$years selected=$krb5PasswordEnd_y}
+ <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_m" id="krb5PasswordEnd_m" {if $krb5PasswordEnd_clear} disabled {/if}>
- {html_options options=$month selected=$krb5PasswordEnd_m}
+ <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}>
</select>
</td>
<td>
- <select name="krb5PasswordEnd_h" id="krb5PasswordEnd_h" {if $krb5PasswordEnd_clear} disabled {/if}>
- {html_options options=$hours selected=$krb5PasswordEnd_h}
+ <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_i" id="krb5PasswordEnd_i" {if $krb5PasswordEnd_clear} disabled {/if}>
- {html_options options=$minutes selected=$krb5PasswordEnd_i}
+ <select name="krb5PasswordEnd_y" id="krb5PasswordEnd_y" {if $krb5PasswordEnd_clear} disabled {/if}>
+ {html_options options=$years selected=$krb5PasswordEnd_y}
</select>
-
</td>
</tr>
</table>
diff --git a/include/class_password-methods-heimdal.inc b/include/class_password-methods-heimdal.inc
index 370ee803f8cd3320a5f07a6efed404fdfe6cdc24..05e9dc568a07d9473745b9c08aed3923fe04be97 100644 (file)
$this->is_account = FALSE;
$this->krb5MaxLife = 86400;
$this->krb5MaxRenew = 604800;
- $this->krb5ValidStart = date("YmdHi",time())."Z";
- $this->krb5ValidEnd = date("YmdHi",time())."Z";
- $this->krb5PasswordEnd= date("YmdHi",time())."Z";
+ $this->krb5ValidStart = date("Ymd",time())."0000Z";
+ $this->krb5ValidEnd = date("Ymd",time())."0000Z";
+ $this->krb5PasswordEnd= date("Ymd",time())."0000Z";
/* Load existing entries */
if($dn != "new"){