diff --git a/kuser/kinit.c b/kuser/kinit.c index 330235af0..4b85088bb 100644 --- a/kuser/kinit.c +++ b/kuser/kinit.c @@ -49,7 +49,7 @@ main (int argc, char **argv) } cred.client = principal; - cred.times.endtime = time (NULL) + 4711; + cred.times.endtime = 0; err = krb5_build_principal_ext (context, &cred.server, diff --git a/lib/krb5/mk_req.c b/lib/krb5/mk_req.c index c801c35ac..b622a2903 100644 --- a/lib/krb5/mk_req.c +++ b/lib/krb5/mk_req.c @@ -43,7 +43,7 @@ krb5_mk_req(krb5_context context, NULL); if (r) return r; - this_cred.times.endtime = time (NULL) + 4711; /* XXX */ + this_cred.times.endtime = 0; r = krb5_get_credentials (context, 0, ccache, &this_cred, &cred); if (r)