From ee61568be6bcb217d106c08ec915775c8476ed56 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 14 Sep 2010 17:36:23 +1000 Subject: s4-winbind: use finddcs_cldap() in winbind Pair-Programmed-With: Andrew Bartlett --- source4/winbind/wb_sid2domain.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/winbind/wb_sid2domain.c') diff --git a/source4/winbind/wb_sid2domain.c b/source4/winbind/wb_sid2domain.c index b77044ee80..c1cf987131 100644 --- a/source4/winbind/wb_sid2domain.c +++ b/source4/winbind/wb_sid2domain.c @@ -84,7 +84,9 @@ struct composite_context *wb_sid2domain_send(TALLOC_CTX *mem_ctx, if (dom_sid_equal(service->primary_sid, sid) || dom_sid_in_domain(service->primary_sid, sid)) { - ctx = wb_get_dom_info_send(state, service, lpcfg_workgroup(service->task->lp_ctx), + ctx = wb_get_dom_info_send(state, service, + lpcfg_workgroup(service->task->lp_ctx), + lpcfg_realm(service->task->lp_ctx), service->primary_sid); if (ctx == NULL) goto failed; ctx->async.fn = sid2domain_recv_dom_info; -- cgit