diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-07-08 11:31:27 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-07-08 16:22:38 +0000 |
commit | d216db5cd5411d1a4a62ce0b7f43b685f9cd107f (patch) | |
tree | 19b96b7832aab8aa3cd36effa20b5370ba23bcf5 /selftest | |
parent | 840b8501b43695802d78726409b69afb4976166a (diff) | |
download | samba-d216db5cd5411d1a4a62ce0b7f43b685f9cd107f.tar.gz |
selftest: explicitly set "client min protocol = CORE"
This is the current default and what 'make test' assumes currently.
The next commit will change the default to disable SMB1.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/selftest.pl | 1 | ||||
-rwxr-xr-x | selftest/target/Samba3.pm | 1 | ||||
-rwxr-xr-x | selftest/target/Samba4.pm | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 9e3d81801a6..5d4fcf25734 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -646,6 +646,7 @@ sub write_clientconf($$$) ldb:nosync = true system:anonymous = true client lanman auth = Yes + client min protocol = CORE log level = 1 torture:basedir = $clientdir #We don't want to pass our self-tests if the PAC code is wrong diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 6deaa1e356f..b1ee80699a2 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1661,6 +1661,7 @@ sub provision($$$$$$$$$) panic action = cd $self->{srcdir} && $self->{srcdir}/selftest/gdb_backtrace %d %\$(MAKE_TEST_BINARY) smbd:suicide mode = yes + client min protocol = CORE server min protocol = LANMAN1 workgroup = $domain diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index c3f22e9bb3e..60419d870c8 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -796,6 +796,7 @@ sub provision_raw_step1($$) lanman auth = Yes ntlm auth = Yes rndc command = true + client min protocol = CORE server min protocol = LANMAN1 dns update command = $ctx->{samba_dnsupdate} spn update command = $ctx->{python} $ENV{SRCDIR_ABS}/source4/scripting/bin/samba_spnupdate -s $ctx->{smb_conf} |