summaryrefslogtreecommitdiff
path: root/source4/utils/net/drs/net_drs_replicate.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_replicate.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_replicate.c')
-rw-r--r--source4/utils/net/drs/net_drs_replicate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/drs/net_drs_replicate.c b/source4/utils/net/drs/net_drs_replicate.c
index 6c6cbfaf97..147eb45e84 100644
--- a/source4/utils/net/drs/net_drs_replicate.c
+++ b/source4/utils/net/drs/net_drs_replicate.c
@@ -170,7 +170,7 @@ static bool net_drs_replicate_sync_nc(struct net_drs_context *drs_ctx,
req.in.req->req1.source_dsa_guid = ntds_guid_src;
/* send DsReplicaSync request */
- status = dcerpc_drsuapi_DsReplicaSync(drs_conn->drs_pipe, drs_ctx, &req);
+ status = dcerpc_drsuapi_DsReplicaSync_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)) {