* get_in_tkt.c (krb5_get_init_creds): Change hardcoded default ticket lifetime
authorKen Raeburn <raeburn@mit.edu>
Fri, 30 May 2003 23:56:57 +0000 (23:56 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 30 May 2003 23:56:57 +0000 (23:56 +0000)
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

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/get_in_tkt.c

index b5a74035b79ddc8cb7dc986d247d5b668c22cc3f..0c437a86bbc28787b9a46b07406e560ab9bc7f6c 100644 (file)
@@ -1,5 +1,8 @@
 2003-05-30  Ken Raeburn  <raeburn@mit.edu>
 
+       * 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.
 
index c49752c952cdb0049d006b3274bffcdc6388ada1..2f6c257a2516157c6b870352ea07e235c2dca35c 100644 (file)
@@ -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;