]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: explicitly set "server min protocol = LANMAN1"
authorStefan Metzmacher <metze@samba.org>
Mon, 8 Jul 2019 09:55:13 +0000 (11:55 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 8 Jul 2019 16:22:37 +0000 (16:22 +0000)
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>
selftest/target/Samba3.pm
selftest/target/Samba4.pm

index 6ce61a8b4ed9e511de66eafc25f505ba4bb03626..6deaa1e356fc52e42ae63386e1470abb06f9b6a7 100755 (executable)
@@ -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
index a1676d6428f627f9cebe8920c1b54d0e739ca789..c3f22e9bb3e6815624a539ad755f736bd2b27045 100755 (executable)
@@ -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