From 7433559cc97115639c0ea958e4d9217c3f8deec9 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 30 May 2003 23:53:16 +0000 Subject: [PATCH] * main.c (init_realm): Use KRB5_KDB_MAX_RLIFE, not KRB5_KDB_MAX_LIFE, as default for realm's max renewable lifetime. (KRB5_KDB_MAX_RLIFE is currently one week) ticket: 1190 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15532 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 5 +++++ src/kdc/main.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index 0b3ea7f83..04d96173b 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,8 @@ +2003-05-30 Ken Raeburn + + * main.c (init_realm): Use KRB5_KDB_MAX_RLIFE, not + KRB5_KDB_MAX_LIFE, as default for realm's max renewable lifetime. + 2003-05-23 Sam Hartman * kdc_preauth.c (_make_etype_info_entry): Add flag to know if we diff --git a/src/kdc/main.c b/src/kdc/main.c index 5fb460b0a..32616cf5e 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -242,7 +242,7 @@ init_realm(char *progname, kdc_realm_t *rdp, char *realm, char *def_dbname, /* Handle ticket renewable maximum life */ rdp->realm_maxrlife = (rparams && rparams->realm_max_rlife_valid) ? - rparams->realm_max_rlife : KRB5_KDB_MAX_LIFE; + rparams->realm_max_rlife : KRB5_KDB_MAX_RLIFE; /* Handle key/salt list */ if (rparams && rparams->realm_num_keysalts) { -- 2.26.2