3 # add tests to this list as they start passing, so we test
4 # that they stay passing
5 ncacn_np_tests="RPC-SCHANNEL RPC-ECHO RPC-DSSETUP"
6 ncalrpc_tests="RPC-SCHANNEL RPC-ECHO RPC-DSSETUP"
7 ncacn_ip_tcp_tests="RPC-SCHANNEL RPC-ECHO"
11 Usage: test_rpc.sh SERVER USERNAME PASSWORD DOMAIN
23 trap "rm -f test.$$" EXIT
25 if ! $cmdline > test.$$ 2>&1; then
28 echo "TEST FAILED - $cmdline";
34 for transport in ncalrpc ncacn_np ncacn_ip_tcp; do
35 for bindoptions in connect sign seal sign,seal validate padcheck bigendian bigendian,seal; do
37 ncalrpc) tests=$ncalrpc_tests ;;
38 ncacn_np) tests=$ncacn_np_tests ;;
39 ncacn_ip_tcp) tests=$ncacn_ip_tcp_tests ;;
42 echo Testing $t on $transport with $bindoptions
43 testit bin/smbtorture $transport:"$server[$bindoptions]" -U"$username"%"$password" -W $domain $t "$*"