]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Allow rpc_proxy & s4member also negotiate SMB1
authorNoel Power <noel.power@suse.com>
Wed, 4 Dec 2019 11:06:44 +0000 (11:06 +0000)
committerRalph Boehme <slow@samba.org>
Fri, 3 Apr 2020 15:08:26 +0000 (15:08 +0000)
Test environments rpc_proxy & s4member depend on ad_dc_ntvfs
so these environments additionally need to also be able to
still support SMB1.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/target/Samba4.pm

index 73f033c843d973737023562343e3936f18bb093c..a0f8c8d780e6d8541513a573e7d38d3f1e52b5b9 100755 (executable)
@@ -1240,6 +1240,9 @@ rpc_server:winreg = embedded
 rpc_server:spoolss = embedded
 rpc_daemon:spoolssd = embedded
 rpc_server:tcpip = no
+# override the new SMB2 only default
+client min protocol = CORE
+server min protocol = LANMAN1
 ";
        if ($more_conf) {
                $extra_smb_conf = $extra_smb_conf . $more_conf . "\n";
@@ -1290,7 +1293,9 @@ sub provision_rpc_proxy($$$)
        dcerpc endpoint servers = epmapper, remote
        dcerpc_remote:interfaces = rpcecho
        dcerpc_remote:allow_anonymous_fallback = yes
-
+       # override the new SMB2 only default
+       client min protocol = CORE
+       server min protocol = LANMAN1
 [cifs_to_dc]
        path = /tmp/_ignore_cifs_to_dc_/_none_
        read only = no