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/librpc/rpc/pyrpc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/librpc/rpc/pyrpc_util.c') diff --git a/source4/librpc/rpc/pyrpc_util.c b/source4/librpc/rpc/pyrpc_util.c index fa6bdab2a2..d0fa5d7285 100644 --- a/source4/librpc/rpc/pyrpc_util.c +++ b/source4/librpc/rpc/pyrpc_util.c @@ -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); -- cgit