s4-messaging: Pass the loadparm context, not just the messaging path
[obnox/samba/samba-obnox.git] / source4 / librpc / rpc / pyrpc_util.c
index fa6bdab2a2805d957a9183f0605ddae9ec5eef62..d0fa5d72853250eea14f2a308b3948f0c9d4f974 100644 (file)
@@ -74,7 +74,7 @@ static NTSTATUS pyrpc_irpc_connect(TALLOC_CTX *mem_ctx, const char *irpc_server,
 {
        struct imessaging_context *msg;
 
-       msg = imessaging_client_init(mem_ctx, lpcfg_imessaging_path(mem_ctx, lp_ctx), event_ctx);
+       msg = imessaging_client_init(mem_ctx, lp_ctx, event_ctx);
        NT_STATUS_HAVE_NO_MEMORY(msg);
 
        *binding_handle = irpc_binding_handle_by_name(mem_ctx, msg, irpc_server, table);