From: Ken Raeburn Date: Fri, 30 May 2003 23:56:57 +0000 (+0000) Subject: * get_in_tkt.c (krb5_get_init_creds): Change hardcoded default ticket lifetime X-Git-Tag: krb5-1.4-beta1~902 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1173ed8f41c5b1e489b54cbbf8cbb52b53c1b4fd;p=krb5.git * get_in_tkt.c (krb5_get_init_creds): Change hardcoded default ticket lifetime from 10 hours to 24 hours. ticket: 1190 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15533 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index b5a74035b..0c437a86b 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,5 +1,8 @@ 2003-05-30 Ken Raeburn + * get_in_tkt.c (krb5_get_init_creds): Change hardcoded default + ticket lifetime from 10 hours to 24 hours. + * init_ctx.c (DEFAULT_KDC_TIMESYNC): Define as 1 always. (DEFAULT_CCACHE_TYPE): Define as 4 always. diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index c49752c95..2f6c257a2 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -872,7 +872,7 @@ krb5_get_init_creds(krb5_context context, if (options && (options->flags & KRB5_GET_INIT_CREDS_OPT_TKT_LIFE)) request.till += options->tkt_life; else - request.till += 10*60*60; /* this used to be hardcoded in kinit.c */ + request.till += 24*60*60; /* this used to be hardcoded in kinit.c */ if (renew_life > 0) { request.rtime = request.from;