From: Ralph Boehme Date: Wed, 18 Jan 2017 15:23:40 +0000 (+0100) Subject: selftest: add test for global "smb encrypt=off" X-Git-Tag: samba-4.4.10~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf5ed9e39981d26ef22ecdb63ca9289f990903a;p=thirdparty%2Fsamba.git selftest: add test for global "smb encrypt=off" Test various combinations of having encryption globally turned off and enabled (desired/required) on a share, with SMB1 UNIX Extensions and SMB3. Bug: https://bugzilla.samba.org/show_bug.cgi?id=12520 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (cherry picked from commit 21d030e5bdf7dc6ef8d5f4e70bed7e70b731cd15) --- diff --git a/source3/script/tests/test_smbclient_encryption_off.sh b/source3/script/tests/test_smbclient_encryption_off.sh new file mode 100755 index 00000000000..467a4ee4ced --- /dev/null +++ b/source3/script/tests/test_smbclient_encryption_off.sh @@ -0,0 +1,65 @@ +#!/bin/sh + +if [ $# -lt 4 ]; then +cat <