summaryrefslogtreecommitdiff
path: root/source4/utils/net/drs/net_drs_kcc.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-03-18 10:48:24 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-18 12:39:43 +0100
commitfd86c9b6877ab9e416b82d04bc7cfc42af027d74 (patch)
treec67fbb5fdf56e6b22487d9c30fdb7e8254a56021 /source4/utils/net/drs/net_drs_kcc.c
parent95cefcfa4a7da51f11c9662057275830b25555a4 (diff)
downloadsamba-fd86c9b6877ab9e416b82d04bc7cfc42af027d74.tar.gz
samba-fd86c9b6877ab9e416b82d04bc7cfc42af027d74.tar.bz2
samba-fd86c9b6877ab9e416b82d04bc7cfc42af027d74.zip
s4:utils/net/drs: make use of dcerpc_binding_handle stubs
metze
Diffstat (limited to 'source4/utils/net/drs/net_drs_kcc.c')
-rw-r--r--source4/utils/net/drs/net_drs_kcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/drs/net_drs_kcc.c b/source4/utils/net/drs/net_drs_kcc.c
index 5b7c3cd06d..1afb96f517 100644
--- a/source4/utils/net/drs/net_drs_kcc.c
+++ b/source4/utils/net/drs/net_drs_kcc.c
@@ -140,7 +140,7 @@ int net_drs_kcc_cmd(struct net_context *ctx, int argc, const char **argv)
req.in.bind_handle = &drs_conn->bind_handle;
req.in.level = 1;
req.in.req = &kcc_req;
- status = dcerpc_drsuapi_DsExecuteKCC(drs_conn->drs_pipe, drs_ctx, &req);
+ status = dcerpc_drsuapi_DsExecuteKCC_r(drs_conn->drs_handle, drs_ctx, &req);
if (!NT_STATUS_IS_OK(status)) {
const char *errstr = nt_errstr(status);
if (NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) {