diff options
author | Ralph Boehme <slow@samba.org> | 2017-01-17 17:23:51 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2017-02-06 09:04:14 +0100 |
commit | 26ff06cd50db1ecebd92ae1175f760bc65d8a171 (patch) | |
tree | fe2c07d8c32fd0d5b6a5ca9d3e71514cf21d3a82 /selftest | |
parent | 170cc06ddbadfb5c98883360a00b7cd3ebc0a413 (diff) | |
download | samba-26ff06cd50db1ecebd92ae1175f760bc65d8a171.tar.gz |
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 <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 573e8e15b3ed27d6b593e635e9c24eea3fdf4fb9)
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/target/Samba3.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 8f2a1f534a0..7fe3dace95a 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -554,6 +554,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 @@ -571,6 +572,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, |