From 3cdb1fe4404e26ae383cfb73bfa8af36cb1d7f7c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 13 Oct 2011 20:01:56 +1100 Subject: s4-messaging: Pass the loadparm context, not just the messaging path This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett --- source4/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smbd/server.c') diff --git a/source4/smbd/server.c b/source4/smbd/server.c index c8549e2b56..86622c8be9 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -221,7 +221,7 @@ static NTSTATUS setup_parent_messaging(struct tevent_context *event_ctx, NTSTATUS status; msg = imessaging_init(talloc_autofree_context(), - lpcfg_imessaging_path(event_ctx, lp_ctx), + lp_ctx, cluster_id(0, SAMBA_PARENT_TASKID), event_ctx, false); NT_STATUS_HAVE_NO_MEMORY(msg); -- cgit