From a35c9d6a638e20c1f9ea81602805722561887c60 Mon Sep 17 00:00:00 2001
From: Jeremy Allison <jra@samba.org>
Date: Fri, 18 Apr 2014 15:06:05 -0700
Subject: s3: smbd: Call dgram cleanup init background setup.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
---
 source3/smbd/server.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 5c764be9235..298afb924c4 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1448,6 +1448,10 @@ extern void build_options(bool screen);
 		exit_daemon("Samba cannot init notification", EACCES);
 	}
 
+	if (!messaging_parent_dgm_cleanup_init(msg_ctx)) {
+		exit(1);
+	}
+
 	if (!smbd_scavenger_init(NULL, msg_ctx, ev_ctx)) {
 		exit_daemon("Samba cannot init scavenging", EACCES);
 	}
-- 
cgit