From: Noel Power Date: Wed, 27 Nov 2019 08:30:06 +0000 (+0000) Subject: selftest: Allow ad_dc_ntvfs negotiate smb1 still X-Git-Tag: ldb-2.2.0~1123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5898c7231856e3ccd903250bfd2160406b37121d;p=thirdparty%2Fsamba.git selftest: Allow ad_dc_ntvfs negotiate smb1 still The default for most test envs will be changed in a future commit(s) to be >= SMB2 then we need to still allow ad_dc_ntvfs to support SMB1. This will make the number of tests to port easier to deal with. In addition to test env ad_dc_ntvfs still supporting SMB1 we need to do the same with test other environments that depend on ad_dc_ntvfs (this will be handled in followup commits). In addition to the above this change will ensure we don't trigger failures for ntvfs tests when we switch to default >= SMB2 which will make the associated skip file (added in a future commit) smaller. Signed-off-by: Noel Power Reviewed-by: Ralph Boehme --- diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 7c154f122a6..91903c91c73 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -1518,6 +1518,9 @@ sub provision_ad_dc_ntvfs($$$) dsdb password event notification = true dsdb group change notification = true server schannel = auto + # override the new SMB2 only default + client min protocol = CORE + server min protocol = LANMAN1 "; push (@{$extra_provision_options}, "--use-ntvfs"); my $ret = $self->provision($prefix,