Use string values in kdc.conf
authorPaul Park <pjpark@mit.edu>
Thu, 3 Aug 1995 16:07:23 +0000 (16:07 +0000)
committerPaul Park <pjpark@mit.edu>
Thu, 3 Aug 1995 16:07:23 +0000 (16:07 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6395 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/dejagnu/config/ChangeLog
src/tests/dejagnu/config/default.exp

index da8c09061812ddafc734fbc8a6ffd13c97b4ac7b..13be379fc231277cba94c525600230665e7d16bc 100644 (file)
@@ -1,4 +1,8 @@
 
+Thu Aug 3 11:56:43 EDT 1995    Paul Park       (pjpark@mit.edu)
+       * default.exp - Generate kdc.conf with new symbolic values.
+
+
 Mon Jul 17 15:25:56 EDT 1995   Paul Park       (pjpark@mit.edu)
        * default.exp - Add handling of kdc.conf which has the KDC profile.
                Remove parameters from command lines of admin utilities because
index f52f1f266b2b2b6b6800b4d1aec77b57c90b7272..ea0c9848ccb24671093551e12efc3ef00feafd76 100644 (file)
@@ -265,8 +265,6 @@ proc setup_kerberos_files { } {
     }
 
     # Create a kdc.conf file.
-    # The magic principal expiration number is supposed to be 31/12/99 23:59:59
-    # the flags are disallow_postated, disallow_renewable.
     if ![file exists tmpdir/kdc.conf] {
        set conffile [open tmpdir/kdc.conf w]
        puts $conffile "\[kdcdefaults\]"
@@ -278,14 +276,16 @@ proc setup_kerberos_files { } {
        puts $conffile "                profile = $tmppwd/krb5.conf"
        puts $conffile "                database_name = $tmppwd/db"
        puts $conffile "                master_key_name = master/key"
-       puts $conffile "                encryption_type = 3"
+       puts $conffile "                master_key_type = des"
+       puts $conffile "                encryption_type = des-cbc-md5"
        puts $conffile "                port = 3088"
        puts $conffile "                kadmind_port = 3750"
        puts $conffile "                key_stash_file = $tmppwd/stash"
-       puts $conffile "                max_life = 1:0:0"
-       puts $conffile "                max_renewable_life = 3:0:0"
-       puts $conffile "                default_principal_expiration = 946699199"
-       puts $conffile "                default_principal_flags = 9"
+       puts $conffile "                max_life = 1:00:00"
+       puts $conffile "                max_renewable_life = 3:00:00"
+       puts $conffile "                default_principal_expiration = 99.12.31.23.59.59"
+       puts $conffile "                default_principal_flags = -postdateable -forwardable"
+       puts $conffile "                supported_keytypes = des:normal des:v4 des:norealm des:onlyrealm"
        puts $conffile "        \}"
        puts $conffile ""
        close $conffile