From c163ef20f887d6f7a1f3b5ef79adfccbca85cf57 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 8 Jul 2019 11:55:13 +0200 Subject: [PATCH] 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 --- selftest/target/Samba3.pm | 2 ++ selftest/target/Samba4.pm | 1 + 2 files changed, 3 insertions(+) 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 -- 2.47.3