* main.c (init_realm): Use KRB5_KDB_MAX_RLIFE, not KRB5_KDB_MAX_LIFE, as
authorKen Raeburn <raeburn@mit.edu>
Fri, 30 May 2003 23:53:16 +0000 (23:53 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 30 May 2003 23:53:16 +0000 (23:53 +0000)
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
src/kdc/main.c

index 0b3ea7f83703cfcc6224818fb6c57eb6ce4370a6..04d96173b436f10852f496f541ad4e76bc35ce1d 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-30  Ken Raeburn  <raeburn@mit.edu>
+
+       * 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  <hartmans@mit.edu>
 
        * kdc_preauth.c (_make_etype_info_entry): Add flag to know if we
index 5fb460b0a56d8dae2f5fee0845da247fb8f6640b..32616cf5e863c401a4f066c27b52d3373d130b11 100644 (file)
@@ -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) {