summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-06 16:35:34 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-23 12:21:14 +0100
commit97a086d5c4e84616065cbbc68d47d82de0fe0db5 (patch)
treec5dd5dda900271ee91bce895687165f2533e46b2 /source3
parent6af15943c6f868d08945d0ca993506c17107fbd4 (diff)
downloadsamba-97a086d5c4e84616065cbbc68d47d82de0fe0db5.tar.gz
samba-97a086d5c4e84616065cbbc68d47d82de0fe0db5.tar.bz2
samba-97a086d5c4e84616065cbbc68d47d82de0fe0db5.zip
selftest/Samba3: Test smb signing against the member server
metze
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/selftest/tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/selftest/tests.sh b/source3/selftest/tests.sh
index f88dab0337..ea59f0ee8e 100755
--- a/source3/selftest/tests.sh
+++ b/source3/selftest/tests.sh
@@ -120,6 +120,10 @@ plantest "blackbox.smbclient_s3.plain" dc BINDIR="$BINDIR" script/tests/test_smb
plantest "blackbox.smbclient_s3.plain member creds" member BINDIR="$BINDIR" script/tests/test_smbclient_s3.sh \$SERVER \$SERVER_IP \$SERVER\\\\\$USERNAME \$PASSWORD
plantest "blackbox.smbclient_s3.plain domain creds" member BINDIR="$BINDIR" script/tests/test_smbclient_s3.sh \$SERVER \$SERVER_IP \$DOMAIN\\\\\$DC_USERNAME \$DC_PASSWORD
+# sign, only the member server allows signing
+plantest "blackbox.smbclient_s3.sign member creds" member BINDIR="$BINDIR" script/tests/test_smbclient_s3.sh \$SERVER \$SERVER_IP \$SERVER\\\\\$USERNAME \$PASSWORD "--signing=required"
+plantest "blackbox.smbclient_s3.sign domain creds" member BINDIR="$BINDIR" script/tests/test_smbclient_s3.sh \$SERVER \$SERVER_IP \$DOMAIN\\\\\$DC_USERNAME \$DC_PASSWORD "--signing=required"
+
# encrypted
plantest "blackbox.smbclient_s3.crypt" dc BINDIR="$BINDIR" script/tests/test_smbclient_s3.sh \$SERVER \$SERVER_IP \$USERNAME \$PASSWORD "-e"