+Sun Mar 3 14:35:27 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * rcp.exp, rsh.exp: Change name of kshd to match current executable
+ name. Change calling arguments to match current usage.
+
+
Sat Jan 27 01:10:39 1996 Mark Eichin <eichin@cygnus.com>
* kadmin.exp: use a longer password for kadmin_modify test to meet
}
if ![info exists KRSHD] {
- set KRSHD [findfile $objdir/../../appl/bsd/krshd]
+ set KRSHD [findfile $objdir/../../appl/bsd/kshd]
}
# Make sure .k5login is reasonable.
# The -D argument tells it to accept a single connection, so we
# don't need to use inetd. The 3544 is the port to listen at.
- spawn $KRSHD -K -D 3544 -P [file dirname $RCP] -S $tmppwd/srvtab -M KRBTEST.COM
+ spawn $KRSHD -k -c -D 3544 -P [file dirname $RCP] -S $tmppwd/srvtab -M KRBTEST.COM
set krshd_spawn_id $spawn_id
set krshd_pid [exp_pid]
}
if ![info exists KRSHD] {
- set KRSHD [findfile $objdir/../../appl/bsd/krshd]
+ set KRSHD [findfile $objdir/../../appl/bsd/kshd]
}
# Make sure .k5login is reasonable.
# The -D argument tells it to accept a single connection, so we
# don't need to use inetd. The 3544 is the port to listen at.
- spawn $KRSHD -K -D 3544 -S $tmppwd/srvtab -M KRBTEST.COM -A $option
+ spawn $KRSHD -k -c -D 3544 -S $tmppwd/srvtab -M KRBTEST.COM -A $option
set krshd_spawn_id $spawn_id
set krshd_pid [exp_pid]
}
# Start up the rsh daemon.
- start_rsh_daemon -K
+ start_rsh_daemon -k
# Run rsh date.
set testname "date"
# Check encrypted rsh.
set failed no
- start_rsh_daemon -x
+ start_rsh_daemon -ek
set testname "encrypted rsh"
spawn $RSH $hostname -x -k KRBTEST.COM -D 3544 -A echo hello
expect {
}
# Check stderr
- start_rsh_daemon -K
+ start_rsh_daemon -k
set testname "rsh to stderr"
spawn $RSH $hostname -k KRBTEST.COM -D 3544 -A $BINSH -c "'echo hello 1>&2'"
expect {
pass $testname
- start_rsh_daemon -x
+ start_rsh_daemon -e
set testname "encrypted rsh to stderr"
spawn $RSH $hostname -x -k KRBTEST.COM -D 3544 -A $BINSH -c "'echo hello 1>&2'"
expect {