summaryrefslogtreecommitdiff
path: root/source3/winbindd/wb_lookupsid.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-08-12 15:13:54 +0200
committerStefan Metzmacher <metze@samba.org>2010-08-16 14:30:21 +0200
commit13c744fa30b94e6ab4321c69a8a3d01ef42845d7 (patch)
tree7b5c8fc230cecd9d2759bd100dc6f7cc50b241eb /source3/winbindd/wb_lookupsid.c
parent2ccaa2355872612559935090cb032031659ea284 (diff)
downloadsamba-13c744fa30b94e6ab4321c69a8a3d01ef42845d7.tar.gz
samba-13c744fa30b94e6ab4321c69a8a3d01ef42845d7.tar.bz2
samba-13c744fa30b94e6ab4321c69a8a3d01ef42845d7.zip
s3:winbindd: use dcerpc_wbint_* functions instead of rpccli_wbint_*
metze
Diffstat (limited to 'source3/winbindd/wb_lookupsid.c')
-rw-r--r--source3/winbindd/wb_lookupsid.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/winbindd/wb_lookupsid.c b/source3/winbindd/wb_lookupsid.c
index 80e0b80ca1..6fe8a65c37 100644
--- a/source3/winbindd/wb_lookupsid.c
+++ b/source3/winbindd/wb_lookupsid.c
@@ -54,8 +54,8 @@ struct tevent_req *wb_lookupsid_send(TALLOC_CTX *mem_ctx,
return tevent_req_post(req, ev);
}
- subreq = rpccli_wbint_LookupSid_send(
- state, ev, state->lookup_domain->child.rpccli,
+ subreq = dcerpc_wbint_LookupSid_send(
+ state, ev, state->lookup_domain->child.binding_handle,
&state->sid, &state->type, &state->domname, &state->name);
if (tevent_req_nomem(subreq, req)) {
return tevent_req_post(req, ev);
@@ -73,7 +73,7 @@ static void wb_lookupsid_done(struct tevent_req *subreq)
struct winbindd_domain *forest_root;
NTSTATUS status, result;
- status = rpccli_wbint_LookupSid_recv(subreq, state, &result);
+ status = dcerpc_wbint_LookupSid_recv(subreq, state, &result);
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
tevent_req_nterror(req, status);
@@ -94,8 +94,8 @@ static void wb_lookupsid_done(struct tevent_req *subreq)
}
state->lookup_domain = forest_root;
- subreq = rpccli_wbint_LookupSid_send(
- state, state->ev, state->lookup_domain->child.rpccli,
+ subreq = dcerpc_wbint_LookupSid_send(
+ state, state->ev, state->lookup_domain->child.binding_handle,
&state->sid, &state->type, &state->domname, &state->name);
if (tevent_req_nomem(subreq, req)) {
return;