From a79b446e11c56de5244ec9b9823c436122fe5ffe Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Tue, 11 May 2010 21:22:24 +0400 Subject: s4:smb_server: add dfs smbtorture to selftests Signed-off-by: Stefan Metzmacher --- selftest/target/Samba4.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'selftest/target/Samba4.pm') diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 69add204fe..e82ccfdfab 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -732,12 +732,14 @@ sub provision($$$$$$$) push(@{$ctx->{directories}}, "$ctx->{tmpdir}"); push(@{$ctx->{directories}}, "$ctx->{tmpdir}/test1"); push(@{$ctx->{directories}}, "$ctx->{tmpdir}/test2"); - + my $msdfs = "no"; + $msdfs = "yes" if ($server_role eq "domain controller"); $ctx->{smb_conf_extra_options} = " max xmit = 32K server max protocol = SMB2 $extra_smbconf_options + host msdfs = $msdfs [tmp] path = $ctx->{tmpdir} -- cgit