summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_dsgetdcname.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/winbindd_dsgetdcname.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/winbindd_dsgetdcname.c')
-rw-r--r--source3/winbindd/winbindd_dsgetdcname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_dsgetdcname.c b/source3/winbindd/winbindd_dsgetdcname.c
index 2c475d8f4e..f01d35428e 100644
--- a/source3/winbindd/winbindd_dsgetdcname.c
+++ b/source3/winbindd/winbindd_dsgetdcname.c
@@ -67,8 +67,8 @@ struct tevent_req *winbindd_dsgetdcname_send(TALLOC_CTX *mem_ctx,
child = locator_child();
- subreq = rpccli_wbint_DsGetDcName_send(
- state, ev, child->rpccli,
+ subreq = dcerpc_wbint_DsGetDcName_send(
+ state, ev, child->binding_handle,
request->data.dsgetdcname.domain_name, guid_ptr,
request->data.dsgetdcname.site_name,
ds_flags, &state->dc_info);
@@ -87,7 +87,7 @@ static void winbindd_dsgetdcname_done(struct tevent_req *subreq)
req, struct winbindd_dsgetdcname_state);
NTSTATUS status, result;
- status = rpccli_wbint_DsGetDcName_recv(subreq, state, &result);
+ status = dcerpc_wbint_DsGetDcName_recv(subreq, state, &result);
TALLOC_FREE(subreq);
if (!NT_STATUS_IS_OK(status)) {
tevent_req_nterror(req, status);