* alt_prof.c (kadm5_get_config_params): set max_life default to 10
authorBarry Jaspan <bjaspan@mit.edu>
Wed, 18 Sep 1996 16:35:56 +0000 (16:35 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Wed, 18 Sep 1996 16:35:56 +0000 (16:35 +0000)
  hours, instead of 0

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9091 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/ChangeLog
src/lib/kadm5/alt_prof.c

index c693e0f15e68a25e78d303bafc0724d00a0a2a13..a2b09f61185f83c2a7cc5646e5e7f3d65dcdb284 100644 (file)
@@ -1,3 +1,8 @@
+Wed Sep 18 12:35:16 1996  Barry Jaspan  <bjaspan@mit.edu>
+
+       * alt_prof.c (kadm5_get_config_params): set max_life default to 10
+       hours, instead of 0
+
 Tue Sep 17 15:09:28 1996  Barry Jaspan  <bjaspan@mit.edu>
 
        * server_internal.h (ALL_PRINC_MASK): Add MAX_RLIFE to
index a3e1c74ae059ac13e59e6dc6113249ac3bf4b10c..71b25978684e2ba3723bda07919e31bf39e8b823 100644 (file)
@@ -550,7 +550,7 @@ krb5_error_code kadm5_get_config_params(context, kdcprofile, kdcenv,
         params.max_life = dtvalue;
         params.mask |= KADM5_CONFIG_MAX_LIFE;
     } else {
-        params.max_life = 0;
+        params.max_life = 36000; /* 10 hours */
         params.mask |= KADM5_CONFIG_MAX_LIFE;
     }