summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-08-03 16:07:23 +0000
committerPaul Park <pjpark@mit.edu>1995-08-03 16:07:23 +0000
commit9ad07a9dd9d4dddcb7ba6a7744ebab1b33238e47 (patch)
tree30ebd2767f5943ef25ff8af90dcfd3bdaa94ec48 /src
parent58cae8e9939eecb6010b0a7f5ae3027130183b8e (diff)
downloadkrb5-9ad07a9dd9d4dddcb7ba6a7744ebab1b33238e47.tar.gz
krb5-9ad07a9dd9d4dddcb7ba6a7744ebab1b33238e47.tar.xz
krb5-9ad07a9dd9d4dddcb7ba6a7744ebab1b33238e47.zip
Use string values in kdc.conf
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6395 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/tests/dejagnu/config/ChangeLog4
-rw-r--r--src/tests/dejagnu/config/default.exp14
2 files changed, 11 insertions, 7 deletions
diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog
index da8c090618..13be379fc2 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 f52f1f266b..ea0c9848cc 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