summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_cmd_lookupname.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/winbind/wb_cmd_lookupname.c')
-rw-r--r--source4/winbind/wb_cmd_lookupname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/winbind/wb_cmd_lookupname.c b/source4/winbind/wb_cmd_lookupname.c
index 8eed5b2d71..9839e2cd80 100644
--- a/source4/winbind/wb_cmd_lookupname.c
+++ b/source4/winbind/wb_cmd_lookupname.c
@@ -76,8 +76,8 @@ static void lookupname_recv_domain(struct composite_context *ctx)
state->ctx->status = wb_sid2domain_recv(ctx, &domain);
if (!composite_is_ok(state->ctx)) return;
- ctx = wb_lsa_lookupnames_send(state, domain->lsa_pipe,
- domain->lsa_policy_handle, 1, &state->name);
+ ctx = wb_lsa_lookupnames_send(state, domain->libnet_ctx->lsa.pipe,
+ &domain->libnet_ctx->lsa.handle, 1, &state->name);
composite_continue(state->ctx, ctx, lookupname_recv_sids, state);
}