From: Noel Power Date: Wed, 4 Dec 2019 11:06:44 +0000 (+0000) Subject: selftest: Allow rpc_proxy & s4member also negotiate SMB1 X-Git-Tag: ldb-2.2.0~1119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f64e032a35570e456fcfe3f0d94f060d2010c06e;p=thirdparty%2Fsamba.git selftest: Allow rpc_proxy & s4member also negotiate SMB1 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 Reviewed-by: Ralph Boehme --- diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 73f033c843d..a0f8c8d780e 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -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