From: Ralph Boehme Date: Tue, 17 Jan 2017 16:23:51 +0000 (+0100) Subject: selftest: disable SMB encryption in simpleserver environment X-Git-Tag: samba-4.4.10~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caab54e5c42a60a9ef395c0721271e706e7864b6;p=thirdparty%2Fsamba.git selftest: disable SMB encryption in simpleserver environment Encryption is currently not tested in this env so we can safely turn it off. The next commit will add a blackbox tests that test combinations of having encryption globally turned off and enabled (desired/required) on a share. This also adds a new share "enc_desired" with "smb encrypt = desired" which will be used by the test in the next commit. Bug: https://bugzilla.samba.org/show_bug.cgi?id=12520 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (cherry picked from commit 573e8e15b3ed27d6b593e635e9c24eea3fdf4fb9) --- diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 5e62cf12fd6..17ad820ce29 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -547,6 +547,7 @@ sub setup_simpleserver($$) lanman auth = yes vfs objects = xattr_tdb streams_depot change notify = no + smb encrypt = off [vfs_aio_fork] path = $prefix_abs/share @@ -560,6 +561,11 @@ sub setup_simpleserver($$) store dos attributes = yes hide files = /hidefile/ hide dot files = yes + +[enc_desired] + path = $prefix_abs/share + vfs objects = + smb encrypt = desired "; my $vars = $self->provision($path,