svn commit: samba r5901 - in branches/SAMBA_4_0/source/script/tests: .

abartlet at samba.org abartlet at samba.org
Sat Mar 19 08:18:24 GMT 2005


Author: abartlet
Date: 2005-03-19 08:18:24 +0000 (Sat, 19 Mar 2005)
New Revision: 5901

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5901

Log:
Add another option to the test script - the realm, which must match
the real ream, not just the short domain name.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/script/tests/test_w2k3.sh


Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_w2k3.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_w2k3.sh	2005-03-19 08:11:49 UTC (rev 5900)
+++ branches/SAMBA_4_0/source/script/tests/test_w2k3.sh	2005-03-19 08:18:24 UTC (rev 5901)
@@ -9,7 +9,7 @@
 
 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 @@
 username="$2"
 password="$3"
 domain="$4"
-shift 4
+realm="$5"
+shift 5
 
 testit() {
    trap "rm -f test.$$" EXIT
@@ -36,7 +37,7 @@
    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



More information about the samba-cvs mailing list