From: hickert Date: Thu, 6 Dec 2007 07:41:27 +0000 (+0000) Subject: Updated Class & Template for heimdal X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=815509ec6b7dc8d309a5e61cc45978a66ca943f5;p=gosa.git Updated Class & Template for heimdal git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8033 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/ihtml/themes/default/pwd_heimdal.tpl b/ihtml/themes/default/pwd_heimdal.tpl index 2707c3fe4..bdc58f6b7 100644 --- a/ihtml/themes/default/pwd_heimdal.tpl +++ b/ihtml/themes/default/pwd_heimdal.tpl @@ -31,15 +31,15 @@ {t}infinite{/t} - {t}Year{/t} + {t}Hour{/t} - {t}Month{/t} + {t}Minute{/t} {t}Day{/t} - {t}Hour{/t} + {t}Month{/t} - {t}Minute{/t} + {t}Year{/t} @@ -57,13 +57,13 @@ > - + {html_options options=$hours selected=$krb5ValidStart_h} - + {html_options options=$minutes selected=$krb5ValidStart_i} @@ -72,13 +72,13 @@ - + {html_options options=$month selected=$krb5ValidStart_m} - + {html_options options=$years selected=$krb5ValidStart_y} @@ -97,13 +97,13 @@ > - + {html_options options=$hours selected=$krb5ValidEnd_h} - + {html_options options=$minutes selected=$krb5ValidEnd_i} @@ -112,13 +112,13 @@ - + {html_options options=$month selected=$krb5ValidEnd_m} - + {html_options options=$years selected=$krb5ValidEnd_y} @@ -137,14 +137,15 @@ > - + {html_options options=$hours selected=$krb5PasswordEnd_h} - + {html_options options=$minutes selected=$krb5PasswordEnd_i} + - + {html_options options=$month selected=$krb5PasswordEnd_m} - + {html_options options=$years selected=$krb5PasswordEnd_y} - diff --git a/include/class_password-methods-heimdal.inc b/include/class_password-methods-heimdal.inc index 370ee803f..05e9dc568 100644 --- a/include/class_password-methods-heimdal.inc +++ b/include/class_password-methods-heimdal.inc @@ -65,9 +65,9 @@ class passwordMethodheimdal extends passwordMethod $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"){