]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: disable SMB encryption in simpleserver environment
authorRalph Boehme <slow@samba.org>
Tue, 17 Jan 2017 16:23:51 +0000 (17:23 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 27 Jan 2017 21:00:17 +0000 (22:00 +0100)
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 <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/target/Samba3.pm

index 32f0c6f5a01d10c51486100f0aa2bdb0fa5a855d..0ec2917f7d3d7c868d7b922a47dc97cddb2be072 100755 (executable)
@@ -579,6 +579,7 @@ sub setup_simpleserver($$)
        ntlm auth = yes
        vfs objects = xattr_tdb streams_depot time_audit full_audit
        change notify = no
+       smb encrypt = off
 
        full_audit:syslog = no
        full_audit:success = none
@@ -596,6 +597,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,