summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-01 01:40:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:53 -0500
commitc8541d041fdae40d3d941bf7901e03876946d18d (patch)
tree2d4e69d28bfa1642b141a05fc6b0b7c23828cc90
parentd487cca5cb39cfd4b41b83ae32f07d2b7deb6cf1 (diff)
downloadsamba-c8541d041fdae40d3d941bf7901e03876946d18d.tar.gz
samba-c8541d041fdae40d3d941bf7901e03876946d18d.tar.bz2
samba-c8541d041fdae40d3d941bf7901e03876946d18d.zip
r4462: - enable DSSETUP on ncalrpc
- add DSSETUP to the list of tests run in test_rpc.sh (This used to be commit 73c3cdc8ed8dafd544ce4dcac9141124d2b85670)
-rw-r--r--source4/librpc/idl/dssetup.idl2
-rwxr-xr-xsource4/script/tests/test_rpc.sh9
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 "$*"