diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/idl/dssetup.idl | 2 | ||||
-rwxr-xr-x | source4/script/tests/test_rpc.sh | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/source4/librpc/idl/dssetup.idl b/source4/librpc/idl/dssetup.idl index 25045c5879..243eff96e7 100644 --- a/source4/librpc/idl/dssetup.idl +++ b/source4/librpc/idl/dssetup.idl @@ -7,7 +7,7 @@ [ uuid("3919286a-b10c-11d0-9ba8-00c04fd92ef5"), version(0.0), - endpoint("ncacn_np:[\\pipe\\lsarpc]","ncacn_np:[\\pipe\\lsass]"), + endpoint("ncacn_np:[\\pipe\\lsarpc]", "ncacn_np:[\\pipe\\lsass]", "ncalrpc:"), pointer_default(unique), helpstring("Active Directory Setup") ] interface dssetup diff --git a/source4/script/tests/test_rpc.sh b/source4/script/tests/test_rpc.sh index bfce65bbb6..63d22f4083 100755 --- a/source4/script/tests/test_rpc.sh +++ b/source4/script/tests/test_rpc.sh @@ -2,7 +2,9 @@ # add tests to this list as they start passing, so we test # that they stay passing -tests="RPC-SCHANNEL RPC-ECHO" +ncacn_np_tests="RPC-SCHANNEL RPC-ECHO RPC-DSSETUP" +ncalrpc_tests="RPC-SCHANNEL RPC-ECHO RPC-DSSETUP" +ncacn_ip_tcp_tests="RPC-SCHANNEL RPC-ECHO" if [ $# -lt 4 ]; then cat <<EOF @@ -31,6 +33,11 @@ testit() { for transport in ncalrpc ncacn_np ncacn_ip_tcp; do for bindoptions in connect sign seal sign,seal validate padcheck bigendian bigendian,seal; do + case $transport in + ncalrpc) tests=$ncalrpc_tests ;; + ncacn_np) tests=$ncacn_np_tests ;; + ncacn_ip_tcp) tests=$ncacn_ip_tcp_tests ;; + esac for t in $tests; do echo Testing $t on $transport with $bindoptions testit bin/smbtorture $transport:"$server[$bindoptions]" -U"$username"%"$password" -W $domain $t "$*" |