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/utils/ntlm_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/utils/ntlm_auth.c') diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c index 465d9b5982..c0a06bd336 100644 --- a/source4/utils/ntlm_auth.c +++ b/source4/utils/ntlm_auth.c @@ -463,7 +463,7 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode, const char *winbind_method[] = { "winbind", NULL }; struct auth4_context *auth_context; - msg = imessaging_client_init(state, lpcfg_imessaging_path(state, lp_ctx), ev); + msg = imessaging_client_init(state, lp_ctx, ev); if (!msg) { talloc_free(mem_ctx); exit(1); -- cgit