From 1d0302871a2ab253128ecfff4a3a6e0b1233472b Mon Sep 17 00:00:00 2001 From: Gary Lockyer Date: Tue, 5 Sep 2017 12:31:52 +1200 Subject: [PATCH] selftest: set ad_dc process model to prefork Set the process model for ad_dc to prefork, so that the pre-fork gets exercised during self test. Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- selftest/target/Samba4.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index ea23c66c3dc..8b2af7ff063 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -619,6 +619,8 @@ sub provision_raw_step1($$) dreplsrv:periodic_startup_interval = 0 dsdb:schema update allowed = yes + prefork children = 4 + vfs objects = dfs_samba4 acl_xattr fake_acls xattr_tdb streams_depot idmap_ldb:use rfc2307=yes @@ -2575,7 +2577,7 @@ sub setup_ad_dc_no_ntlm($$) return undef; } - if (not defined($self->check_or_start($env, "single"))) { + if (not defined($self->check_or_start($env, "prefork"))) { return undef; } -- 2.34.1