+Mon Jun 5 16:09:25 EDT 1995 Paul Park (pjpark@mit.edu)
+ * default.exp - Reverse prompting order for kadmin5.
+
+
Thu Jun 1 14:48:57 EDT 1995 Paul Park (pjpark@mit.edu)
* default.exp - Change admin instance name to kadmin.
}
expect "kadmin5:"
send "ank $kkey@KRBTEST.COM\r"
+ expect "Enter password for krbtest/kadmin@KRBTEST.COM:"
+ send "adminpass$KEY\r"
expect "Enter new password for $kkey@KRBTEST.COM :"
send "$kkey"
send "$KEY\r"
expect "Re-enter new password for $kkey@KRBTEST.COM :"
send "$kkey"
send "$KEY\r"
- expect "Enter password for krbtest/kadmin@KRBTEST.COM:"
- send "adminpass$KEY\r"
expect {
"principal $kkey@KRBTEST.COM added" { }
"Principal $kkey@KRBTEST.COM already exists" { }
+Mon Jun 5 16:10:15 EDT 1995 Paul Park (pjpark@mit.edu)
+ * kadmin.exp - Change prompting order for kadmin ank and kadmin cpw.
+
+
Thu Jun 1 14:50:02 EDT 1995 Paul Park (pjpark@mit.edu)
* kadmin.exp: Change admin instance name to kadmin.
return 0
}
}
- expect "Enter new password for $pname :" { send "$password\r" }
- expect "Re-enter new password for $pname :" { send "$password\r" }
expect "Enter password for krbtest/kadmin@KRBTEST.COM:" {
send "adminpass$KEY\r"
}
+ expect "Enter new password for $pname :" { send "$password\r" }
+ expect "Re-enter new password for $pname :" { send "$password\r" }
expect "principal $pname added" { set good 1 }
expect_after
expect eof
return 0
}
}
- expect "Enter new password for $pname :" { send "$password\r" }
- expect "Re-enter new password for $pname :" { send "$password\r" }
expect "Enter password for krbtest/kadmin@KRBTEST.COM:" {
send "adminpass$KEY\r"
}
+ expect "Enter new password for $pname :" { send "$password\r" }
+ expect "Re-enter new password for $pname :" { send "$password\r" }
expect "principal $pname added" { set good 1 }
expect_after
expect eof
return 0
}
}
- expect "Enter new password for $pname:" { send "$password\r" }
- expect "Re-enter new password for $pname:" { send "$password\r" }
expect "Enter password for krbtest/kadmin@KRBTEST.COM:" {
send "adminpass$KEY\r"
}
+ expect "Enter new password for $pname:" { send "$password\r" }
+ expect "Re-enter new password for $pname:" { send "$password\r" }
# When in doubt, jam one of these in there.
expect "\r"
expect "password changed for $pname"