From 9ad07a9dd9d4dddcb7ba6a7744ebab1b33238e47 Mon Sep 17 00:00:00 2001 From: Paul Park Date: Thu, 3 Aug 1995 16:07:23 +0000 Subject: [PATCH] Use string values in kdc.conf git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6395 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/config/ChangeLog | 4 ++++ src/tests/dejagnu/config/default.exp | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index da8c09061..13be379fc 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -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 diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index f52f1f266..ea0c9848c 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -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 -- 2.26.2