From: Stefan Metzmacher Date: Mon, 8 Jul 2019 09:31:27 +0000 (+0200) Subject: selftest: explicitly set "client min protocol = CORE" X-Git-Tag: samba-4.11.0rc1~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d216db5cd5411d1a4a62ce0b7f43b685f9cd107f;p=thirdparty%2Fsamba.git 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 Reviewed-by: Ralph Boehme --- 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}