summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_allocate_gid.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_allocate_gid.c')
-rw-r--r--source3/winbindd/winbindd_allocate_gid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_allocate_gid.c b/source3/winbindd/winbindd_allocate_gid.c
index 868a5cc405..d9264543cb 100644
--- a/source3/winbindd/winbindd_allocate_gid.c
+++ b/source3/winbindd/winbindd_allocate_gid.c
@@ -46,7 +46,7 @@ struct tevent_req *winbindd_allocate_gid_send(TALLOC_CTX *mem_ctx,
child = idmap_child();
- subreq = rpccli_wbint_AllocateGid_send(state, ev, child->rpccli,
+ subreq = dcerpc_wbint_AllocateGid_send(state, ev, child->binding_handle,
&state->gid);
if (tevent_req_nomem(subreq, req)) {
return tevent_req_post(req, ev);
@@ -63,7 +63,7 @@ static void winbindd_allocate_gid_done(struct tevent_req *subreq)
req, struct winbindd_allocate_gid_state);
NTSTATUS status, result;
- status = rpccli_wbint_AllocateGid_recv(subreq, state, &result);
+ status = dcerpc_wbint_AllocateGid_recv(subreq, state, &result);
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
tevent_req_nterror(req, status);