diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-14 01:58:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:49 -0500 |
commit | 77cb8cd795da5463eca9a588aeca3ba651ba66b3 (patch) | |
tree | 8731a581d5fcaa15fd369168f0203e1d3c685926 /source4/script/tests/test_w2k3.sh | |
parent | 803ce86db9183867be31cc49b63e85ed00c6b226 (diff) | |
download | samba-77cb8cd795da5463eca9a588aeca3ba651ba66b3.tar.gz samba-77cb8cd795da5463eca9a588aeca3ba651ba66b3.tar.bz2 samba-77cb8cd795da5463eca9a588aeca3ba651ba66b3.zip |
r5384: for RPC-NETLOGON to pass we need to set the realm as well as the domain to the target
realm.
A better fix would be to have a dcerpc_server_realm() helper
function. Andrew, maybe you could see how to extract that out of
gensec? Calling lp_realm() in our torture tests is the wrong approach
I think.
(This used to be commit 2b62840920b21fd9584bc5b3bda050c9a23d61a9)
Diffstat (limited to 'source4/script/tests/test_w2k3.sh')
-rwxr-xr-x | source4/script/tests/test_w2k3.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/script/tests/test_w2k3.sh b/source4/script/tests/test_w2k3.sh index fb94c043d4..cc505166ad 100755 --- a/source4/script/tests/test_w2k3.sh +++ b/source4/script/tests/test_w2k3.sh @@ -36,6 +36,8 @@ testit() { rm -f test.$$; } +OPTIONS="-U$username%$password -W $domain --option realm=$domain" + for transport in ncacn_ip_tcp ncacn_np; do for bindoptions in padcheck connect sign seal spnego,sign spnego,seal validate bigendian; do case $transport in @@ -44,14 +46,14 @@ for transport in ncacn_ip_tcp ncacn_np; do 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 "$*" + testit bin/smbtorture $transport:"$server[$bindoptions]" $OPTIONS $t "$*" done done done echo Testing RPC-DRSUAPI on ncacn_ip_tcp with seal -testit bin/smbtorture ncacn_ip_tcp:"$server[seal]" -U"$username"%"$password" -W $domain RPC-DRSUAPI "$*" +testit bin/smbtorture ncacn_ip_tcp:"$server[seal]" $OPTIONS RPC-DRSUAPI "$*" echo Testing RPC-DRSUAPI on ncacn_ip_tcp with seal,bigendian -testit bin/smbtorture ncacn_ip_tcp:"$server[seal,bigendian]" -U"$username"%"$password" -W $domain RPC-DRSUAPI "$*" +testit bin/smbtorture ncacn_ip_tcp:"$server[seal,bigendian]" $OPTIONS RPC-DRSUAPI "$*" echo "ALL OK"; |