3 # tests that should pass against a w2k3 DC, as administrator
5 # add tests to this list as they start passing, so we test
6 # that they stay passing
7 ncacn_np_tests="RPC-SCHANNEL RPC-DSSETUP RPC-EPMAPPER RPC-SAMR RPC-WKSSVC RPC-SRVSVC RPC-EVENTLOG RPC-NETLOGON RPC-LSA RPC-SAMLOGON RPC-SAMSYNC RPC-MULTIBIND RPC-WINREG"
8 ncacn_ip_tcp_tests="RPC-SCHANNEL RPC-EPMAPPER RPC-SAMR RPC-NETLOGON RPC-LSA RPC-SAMLOGON RPC-SAMSYNC RPC-MULTIBIND"
12 Usage: test_w2k3.sh SERVER USERNAME PASSWORD DOMAIN REALM
25 . $incdir/test_functions.sh
27 OPTIONS="-U$username%$password -W $domain --option realm=$realm"
31 name="RPC-SPOOLSS on ncacn_np"
32 testit "$name" bin/smbtorture $TORTURE_OPTIONS ncacn_np:"$server" $OPTIONS RPC-SPOOLSS "$*"
34 for bindoptions in padcheck connect sign seal ntlm,sign ntlm,seal $VALIDATE bigendian; do
35 for transport in ncacn_ip_tcp ncacn_np; do
37 ncacn_np) tests=$ncacn_np_tests ;;
38 ncacn_ip_tcp) tests=$ncacn_ip_tcp_tests ;;
41 name="$t on $transport with $bindoptions"
42 testit "$name" bin/smbtorture $TORTURE_OPTIONS $transport:"$server[$bindoptions]" $OPTIONS $t "$*"
47 name="RPC-DRSUAPI on ncacn_ip_tcp with seal"
48 testit "$name" bin/smbtorture $TORTURE_OPTIONS ncacn_ip_tcp:"$server[seal]" $OPTIONS RPC-DRSUAPI "$*"
49 name="RPC-DRSUAPI on ncacn_ip_tcp with seal,bigendian"
50 testit "$name" bin/smbtorture $TORTURE_OPTIONS ncacn_ip_tcp:"$server[seal,bigendian]" $OPTIONS RPC-DRSUAPI "$*"