+Thu Jun 8 14:58:15 EDT 1995 Paul Park (pjpark@mit.edu)
+ * default.exp - Add logging section to the profile. Also, export
+ profile location to root shell.
+
+
Mon Jun 5 16:09:25 EDT 1995 Paul Park (pjpark@mit.edu)
* default.exp - Reverse prompting order for kadmin5.
proc setup_kerberos_files { } {
global hostname
global domain
+ global tmppwd
if ![get_hostname] {
return 0
puts $conffile "\[domain_realm\]"
puts $conffile " .$domain = KRBTEST.COM"
puts $conffile " $domain = KRBTEST.COM"
+ puts $conffile ""
+ puts $conffile "\[logging\]"
+ puts $conffile " admin_server = STDERR"
+ puts $conffile " admin_server = FILE:$tmppwd/kadmind5.log"
+ puts $conffile " kdc = FILE:$tmppwd/kdc.log"
+ puts $conffile " default = FILE:$tmppwd/others.log"
close $conffile
}
-re "$ROOT_PROMPT" { }
}
+ # Set up our krb5.conf
+ send "KRB5_CONFIG=$tmppwd/krb5.conf\r"
+ expect {
+ -re "$ROOT_PROMPT" { }
+ }
+ send "export KRB5_CONFIG\r"
+ expect {
+ -re "$ROOT_PROMPT" { }
+ }
+
+
# Move over to the right directory.
set dir [pwd]
send "cd $dir\r"