* 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>
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\]"
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
}
}