summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-05-11 21:22:24 +0400
committerStefan Metzmacher <metze@samba.org>2010-05-18 15:31:14 +0200
commita79b446e11c56de5244ec9b9823c436122fe5ffe (patch)
treed22f151588efab5ef8384473a7c98fbaebce8f72 /selftest/target
parentfc94c50a9fe0ef344068feafa21d85adb149b6b3 (diff)
downloadsamba-a79b446e11c56de5244ec9b9823c436122fe5ffe.tar.gz
samba-a79b446e11c56de5244ec9b9823c436122fe5ffe.tar.bz2
samba-a79b446e11c56de5244ec9b9823c436122fe5ffe.zip
s4:smb_server: add dfs smbtorture to selftests
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest/target')
-rw-r--r--selftest/target/Samba4.pm4
1 files changed, 3 insertions, 1 deletions
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}