summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-03-19 08:18:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:07 -0500
commit4037a7e80c3e5d9560b084d9925896d2a5a9518c (patch)
treefccbb9bb3b30f45be09a043285aedc7598a827c7 /source4/script/tests
parenta25443dbebbe63da502fb2f36908eac9ac7605b9 (diff)
downloadsamba-4037a7e80c3e5d9560b084d9925896d2a5a9518c.tar.gz
samba-4037a7e80c3e5d9560b084d9925896d2a5a9518c.tar.bz2
samba-4037a7e80c3e5d9560b084d9925896d2a5a9518c.zip
r5901: Add another option to the test script - the realm, which must match
the real ream, not just the short domain name. Andrew Bartlett (This used to be commit d585e1a759888df01cfabfec2d6d5506cf3bd426)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/test_w2k3.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/script/tests/test_w2k3.sh b/source4/script/tests/test_w2k3.sh
index cc505166ad..5a412730ac 100755
--- a/source4/script/tests/test_w2k3.sh
+++ b/source4/script/tests/test_w2k3.sh
@@ -9,7 +9,7 @@ ncacn_ip_tcp_tests="RPC-EPMAPPER RPC-SAMR RPC-NETLOGON RPC-LSA RPC-SAMLOGON RPC-
if [ $# -lt 4 ]; then
cat <<EOF
-Usage: test_w2k3.sh SERVER USERNAME PASSWORD DOMAIN
+Usage: test_w2k3.sh SERVER USERNAME PASSWORD DOMAIN REALM
EOF
exit 1;
fi
@@ -22,7 +22,8 @@ server="$1"
username="$2"
password="$3"
domain="$4"
-shift 4
+realm="$5"
+shift 5
testit() {
trap "rm -f test.$$" EXIT
@@ -36,7 +37,7 @@ testit() {
rm -f test.$$;
}
-OPTIONS="-U$username%$password -W $domain --option realm=$domain"
+OPTIONS="-U$username%$password -W $domain --option realm=$realm"
for transport in ncacn_ip_tcp ncacn_np; do
for bindoptions in padcheck connect sign seal spnego,sign spnego,seal validate bigendian; do