summaryrefslogtreecommitdiff
path: root/selftest/target/Samba4.pm
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2019-11-27 08:30:06 +0000
committerRalph Boehme <slow@samba.org>2020-04-03 15:08:26 +0000
commit5898c7231856e3ccd903250bfd2160406b37121d (patch)
tree4c18f960021a80794c342cc5a83133c6dde906f2 /selftest/target/Samba4.pm
parent0f83d9153cd4d84aa293a4e2aae9d212fdfd9b33 (diff)
downloadsamba-5898c7231856e3ccd903250bfd2160406b37121d.tar.gz
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 <npower@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'selftest/target/Samba4.pm')
-rwxr-xr-xselftest/target/Samba4.pm3
1 files changed, 3 insertions, 0 deletions
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,