diff options
author | Ken Raeburn <raeburn@mit.edu> | 2005-08-17 01:06:31 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2005-08-17 01:06:31 +0000 |
commit | 2919752cfa6abcb46ba240cf30cd9f7c9ed525dc (patch) | |
tree | 0f468d806c4824bc79f51e8c2dfb789ce64cfb6c /src/tests | |
parent | a811926214e3d3c8b9c1b0d4daa7ec46e0a48d0f (diff) | |
download | krb5-2919752cfa6abcb46ba240cf30cd9f7c9ed525dc.tar.gz krb5-2919752cfa6abcb46ba240cf30cd9f7c9ed525dc.tar.xz krb5-2919752cfa6abcb46ba240cf30cd9f7c9ed525dc.zip |
Fix to last change: Add the new db info lines to krb5.conf files always, not
just kdc file, so kadmin.local (etc) invocations using other config files still
see them.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17334 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/dejagnu/config/ChangeLog | 2 | ||||
-rw-r--r-- | src/tests/dejagnu/config/default.exp | 18 |
2 files changed, 8 insertions, 12 deletions
diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index a37583d258..3814a7b775 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -3,7 +3,7 @@ * default.exp (setup_kerberos_files): Don't write database_name entry into KDC config file. (setup_krb5_conf): Write new config lines for the realm into the - krb5.conf file for the KDC. + krb5.conf files. 2005-03-14 Ken Raeburn <raeburn@mit.edu> diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 261d3706b5..8f078c3005 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -920,9 +920,7 @@ proc setup_krb5_conf { {type client} } { puts $conffile " kpasswd_server = $hostname:[expr 5 + $portbase]" puts $conffile " default_domain = $domain" puts $conffile " krb524_server = $hostname:[expr 7 + $portbase]" - if { $type == "kdc" } { - puts $conffile " database_module = foo_db2" - } + puts $conffile " database_module = foo_db2" puts $conffile " \}" puts $conffile "" puts $conffile "\[domain_realm\]" @@ -934,14 +932,12 @@ proc setup_krb5_conf { {type client} } { puts $conffile " kdc = FILE:$tmppwd/kdc.log" puts $conffile " default = FILE:$tmppwd/others.log" puts $conffile "" - if { $type == "kdc" } { - puts $conffile "\[db_modules\]" - puts $conffile " db_module_dir = $tmppwd/../../../util/fakedest$KRB5_DB_MODULE_DIR" - puts $conffile " foo_db2 = {" - puts $conffile " db_library = db2" - puts $conffile " database_name = $tmppwd/db" - puts $conffile " }" - } + puts $conffile "\[db_modules\]" + puts $conffile " db_module_dir = $tmppwd/../../../util/fakedest$KRB5_DB_MODULE_DIR" + puts $conffile " foo_db2 = {" + puts $conffile " db_library = db2" + puts $conffile " database_name = $tmppwd/db" + puts $conffile " }" close $conffile } } |