s4-messaging: Pass the loadparm context, not just the messaging path
[kai/samba.git] / source4 / smbd / server.c
index c8549e2b568b95cc9649b173698831585258d09a..86622c8be976c7834f7bd93b58971a29889ad29c 100644 (file)
@@ -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);