summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_cmd_usersids.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-23 02:56:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:16 -0500
commitdc25ec5ce736b21cdcccddff12e6c9d9c0706df8 (patch)
tree4d2cad905540139f8575c7cfb3de34a54dc076e5 /source4/winbind/wb_cmd_usersids.c
parentae0115d8dbf05c52c631ea915f036a2129cd033e (diff)
downloadsamba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.tar.gz
samba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.tar.bz2
samba-dc25ec5ce736b21cdcccddff12e6c9d9c0706df8.zip
r23995: Work to allow mimir's libnet code to be called from winbind.
We now setup a libnet_ctx for each domain. We should then be able to replace/merge some more of the winbind code with libnet calls, referencing domain->libnet_ctx. Andrew Bartlett (This used to be commit bad2dc14d704be59300f619c84694c11620559e0)
Diffstat (limited to 'source4/winbind/wb_cmd_usersids.c')
-rw-r--r--source4/winbind/wb_cmd_usersids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/winbind/wb_cmd_usersids.c b/source4/winbind/wb_cmd_usersids.c
index f967dc83d9..b414cf6313 100644
--- a/source4/winbind/wb_cmd_usersids.c
+++ b/source4/winbind/wb_cmd_usersids.c
@@ -122,11 +122,11 @@ static void usersids_recv_domain(struct composite_context *ctx)
state->rids.count = 0;
state->rids.ids = NULL;
- state->r.in.domain_handle = domain->domain_handle;
+ state->r.in.domain_handle = &domain->libnet_ctx->samr.handle;
state->r.in.sids = &state->lsa_sids;
state->r.out.rids = &state->rids;
- req = dcerpc_samr_GetAliasMembership_send(domain->samr_pipe, state,
+ req = dcerpc_samr_GetAliasMembership_send(domain->libnet_ctx->samr.pipe, state,
&state->r);
composite_continue_rpc(state->ctx, req, usersids_recv_aliases, state);
}