]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: disable SMB1 from testenv(s) make >=SMB2 the default
authorNoel Power <noel.power@suse.com>
Fri, 27 Sep 2019 14:24:25 +0000 (15:24 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 3 Apr 2020 15:08:26 +0000 (15:08 +0000)
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 <npower@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/target/Samba3.pm
selftest/target/Samba4.pm

index 1b8d9536fdac3c3e817c43baf2cd1a2fa923e9f4..d9311f4afb5606d142fca5e4f16ec615d6d1b6dd 100755 (executable)
@@ -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
 
index 91903c91c73a1ced3763b8ea930e46c98708763e..73f033c843d973737023562343e3936f18bb093c 100755 (executable)
@@ -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}