]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
selftest: Allow ad_dc_ntvfs negotiate smb1 still
authorNoel Power <noel.power@suse.com>
Wed, 27 Nov 2019 08:30:06 +0000 (08:30 +0000)
committerRalph Boehme <slow@samba.org>
Fri, 3 Apr 2020 15:08:26 +0000 (15:08 +0000)
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 <npower@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
selftest/target/Samba4.pm

index 7c154f122a6e0ff3f5f9f2656aa6ca084c4d711f..91903c91c73a1ced3763b8ea930e46c98708763e 100755 (executable)
@@ -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,