selftest: explicitly set "client min protocol = CORE"
authorStefan Metzmacher <metze@samba.org>
Mon, 8 Jul 2019 09:31:27 +0000 (11:31 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 8 Jul 2019 16:22:38 +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/selftest.pl
selftest/target/Samba3.pm
selftest/target/Samba4.pm

index 9e3d81801a6f9dcd4fdfaf98cf52f066552ad289..5d4fcf257342cae09afb9b0e3d97994f47b79186 100755 (executable)
@@ -646,6 +646,7 @@ sub write_clientconf($$$)
        ldb:nosync = true
        system:anonymous = true
        client lanman auth = Yes
+       client min protocol = CORE
        log level = 1
        torture:basedir = $clientdir
 #We don't want to pass our self-tests if the PAC code is wrong
index 6deaa1e356fc52e42ae63386e1470abb06f9b6a7..b1ee80699a267fe1ed4866ee6f4750b826b1e675 100755 (executable)
@@ -1661,6 +1661,7 @@ 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
 
        workgroup = $domain
index c3f22e9bb3e6815624a539ad755f736bd2b27045..60419d870c87d9bd3f02996517ddcdab1552d2ec 100755 (executable)
@@ -796,6 +796,7 @@ sub provision_raw_step1($$)
        lanman auth = Yes
        ntlm auth = Yes
        rndc command = true
+       client min protocol = CORE
        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}