From: Noel Power Date: Fri, 27 Sep 2019 14:24:25 +0000 (+0100) Subject: selftest: disable SMB1 from testenv(s) make >=SMB2 the default X-Git-Tag: ldb-2.2.0~1120 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49ba8f215559a126f8c4d6d722c265bdc889e966;p=thirdparty%2Fsamba.git selftest: disable SMB1 from testenv(s) make >=SMB2 the default Change the values of 'min protocol' set for the various test environments to be SMB2_02. Servers will only offer protocols starting with the min specified in the conf files. We don't change the client value here yet (until SMB1 is truely gone) as we still want to be able to run SMB1 tests. Signed-off-by: Noel Power Reviewed-by: Ralph Boehme --- diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 1b8d9536fda..d9311f4afb5 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -2018,8 +2018,8 @@ 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 + client min protocol = SMB2_02 + server min protocol = SMB2_02 workgroup = $domain diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 91903c91c73..73f033c843d 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -715,8 +715,8 @@ sub provision_raw_step1($$) log level = $ctx->{server_loglevel} lanman auth = Yes ntlm auth = Yes - client min protocol = CORE - server min protocol = LANMAN1 + client min protocol = SMB2_02 + server min protocol = SMB2_02 mangled names = yes dns update command = $ctx->{samba_dnsupdate} spn update command = $ctx->{python} $ENV{SRCDIR_ABS}/source4/scripting/bin/samba_spnupdate -s $ctx->{smb_conf}