From: Stefan Metzmacher Date: Mon, 8 Jul 2019 09:55:13 +0000 (+0200) Subject: selftest: explicitly set "server min protocol = LANMAN1" X-Git-Tag: samba-4.11.0rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c163ef20f887d6f7a1f3b5ef79adfccbca85cf57;p=thirdparty%2Fsamba.git selftest: explicitly set "server min protocol = LANMAN1" 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/target/Samba3.pm b/selftest/target/Samba3.pm index 6ce61a8b4ed..6deaa1e356f 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1661,6 +1661,8 @@ sub provision($$$$$$$$$) panic action = cd $self->{srcdir} && $self->{srcdir}/selftest/gdb_backtrace %d %\$(MAKE_TEST_BINARY) smbd:suicide mode = yes + server min protocol = LANMAN1 + workgroup = $domain private dir = $privatedir diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index a1676d6428f..c3f22e9bb3e 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 + 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} gpo update command = $ctx->{python} $ENV{SRCDIR_ABS}/source4/scripting/bin/samba-gpupdate -s $ctx->{smb_conf} --target=Computer