summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_dom_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/winbind/wb_dom_info.c')
-rw-r--r--source4/winbind/wb_dom_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/winbind/wb_dom_info.c b/source4/winbind/wb_dom_info.c
index 13d446897e..99538bfb00 100644
--- a/source4/winbind/wb_dom_info.c
+++ b/source4/winbind/wb_dom_info.c
@@ -68,7 +68,8 @@ struct composite_context *wb_get_dom_info_send(TALLOC_CTX *mem_ctx,
if (dom_sid == NULL) goto failed;
ctx = finddcs_send(mem_ctx, domain_name, NBT_NAME_LOGON,
- dom_sid, lp_name_resolve_order(global_loadparm),
+ dom_sid,
+ lp_name_resolve_order(service->task->lp_ctx),
service->task->event_ctx,
service->task->msg_ctx);
if (ctx == NULL) goto failed;