From: Tim Beale Date: Mon, 26 Nov 2018 01:59:06 +0000 (+1300) Subject: selftest: Make chgdcpass's NTVFS usage more obvious X-Git-Tag: tdb-1.3.17~642 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da933b7664c5ae6afa81993d9dcd7127567992de;p=thirdparty%2Fsamba.git selftest: Make chgdcpass's NTVFS usage more obvious The chgdcpass testenv was not passing --use-ntvfs to the provision command, but it was still actually using NTVFS. The reason is the smb.conf generated by provision_raw_step1() would always try to use the s4/NTVFS file server. Because the smb.conf already existed, this trumped what was passed to the provision command. This patch doesn't change the chgdcpass file server. It just makes it more obvious that chgdcpass is using NTVFS. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676 Signed-off-by: Tim Beale Reviewed-by: Andrew Bartlett --- diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 3562926bddd..b453d1c022f 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -2029,7 +2029,7 @@ sub provision_chgdcpass($$) my ($self, $prefix) = @_; print "PROVISIONING CHGDCPASS...\n"; - my $extra_provision_options = undef; + my $extra_provision_options = ["--use-ntvfs"]; # This environment disallows the use of this password # (and also removes the default AD complexity checks) my $unacceptable_password = "widk3Dsle32jxdBdskldsk55klASKQ";