From 9fc4186ec115d3a8e30a1ff55105dfd0bc93943f Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 12 Oct 2000 16:07:46 +0000 Subject: [PATCH] * default.exp: Add dict_file entry (and create one) for kdc.conf Since the warning message about missing dictionary is now going to the proper place (instead of simply syslogging), the logic to detect kadmind startup is getting confused by the warning message of a dictionary not being in place. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12754 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/config/ChangeLog | 4 ++++ src/tests/dejagnu/config/default.exp | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index a8950471a..08098d53b 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 12 12:06:03 2000 Ezra Peisach + + * default.exp: Add dict_file entry (and create one) for kdc.conf + Tue Aug 22 09:47:50 2000 Ezra Peisach * default.exp: Create a properly formatted krb.conf file. Also diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index d5112d6b0..8e534d1cd 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -431,6 +431,7 @@ proc setup_kerberos_files { } { puts $conffile " kdc_ports = 3088" puts $conffile " default_principal_expiration = 2037.12.31.23.59.59" puts $conffile " default_principal_flags = -postdateable forwardable" + puts $conffile " dict_file = $tmppwd/dictfile" puts $conffile " \}" puts $conffile "" close $conffile @@ -459,6 +460,13 @@ proc setup_kerberos_files { } { close $conffile } + # Create dictfile file. + if ![file exists tmpdir/dictfile] { + set dictfile [open tmpdir/dictfile w] + puts $dictfile "weak_password" + close $dictfile + } + set last_passname_conf $multipass_name return 1 } -- 2.26.2