s4 echo_server: Enable prefork process model
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 10 Jul 2019 21:29:28 +0000 (09:29 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 16 Jul 2019 08:13:12 +0000 (08:13 +0000)
Enable the prefork process model, for the echo server.  This is allows
it to be used in the prefork_restart tests.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/echo_server/echo_server.c

index f38999ae13940dd10c93c1884411f8a331763f5d..c81fc140a0a57d113cf5dae210a873d134812904 100644 (file)
@@ -327,7 +327,7 @@ NTSTATUS server_service_echo_init(TALLOC_CTX *ctx)
 {
        static const struct service_details details = {
                .inhibit_fork_on_accept = true,
-               .inhibit_pre_fork = true,
+               .inhibit_pre_fork = false,
                .task_init = echo_task_init,
                .post_fork = NULL