summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-27 10:59:14 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-01 16:11:54 +0100
commitc4e72add67c05ce502e448a49094a3e3006d6384 (patch)
tree30257feffc1ee50a7f422a3a1895d030d0f8ca17 /source4/dsdb/repl
parentf995e596bbc0e1b44335b10bf23458ac7328188b (diff)
downloadsamba-c4e72add67c05ce502e448a49094a3e3006d6384.tar.gz
samba-c4e72add67c05ce502e448a49094a3e3006d6384.tar.bz2
samba-c4e72add67c05ce502e448a49094a3e3006d6384.zip
s4:dsdb/repl: make use of explicit dcerpc_*_recv functions
metze
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/drepl_notify.c2
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/repl/drepl_notify.c b/source4/dsdb/repl/drepl_notify.c
index eecb4442c7..a67aae9207 100644
--- a/source4/dsdb/repl/drepl_notify.c
+++ b/source4/dsdb/repl/drepl_notify.c
@@ -137,7 +137,7 @@ static void dreplsrv_op_notify_replica_sync_done(struct rpc_request *rreq)
struct drsuapi_DsReplicaSync);
NTSTATUS status;
- status = dcerpc_ndr_request_recv(rreq);
+ status = dcerpc_drsuapi_DsReplicaSync_recv(rreq);
if (tevent_req_nterror(req, status)) {
return;
}
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c
index 422617082a..f80f707322 100644
--- a/source4/dsdb/repl/drepl_out_helpers.c
+++ b/source4/dsdb/repl/drepl_out_helpers.c
@@ -138,7 +138,7 @@ static void dreplsrv_out_drsuapi_bind_done(struct rpc_request *rreq)
struct dreplsrv_out_drsuapi_state);
NTSTATUS status;
- status = dcerpc_ndr_request_recv(rreq);
+ status = dcerpc_drsuapi_DsBind_recv(rreq);
if (tevent_req_nterror(req, status)) {
return;
}
@@ -346,7 +346,7 @@ static void dreplsrv_op_pull_source_get_changes_done(struct rpc_request *rreq)
struct drsuapi_DsGetNCChangesCtr1 *ctr1 = NULL;
struct drsuapi_DsGetNCChangesCtr6 *ctr6 = NULL;
- status = dcerpc_ndr_request_recv(rreq);
+ status = dcerpc_drsuapi_DsGetNCChanges_recv(rreq);
if (tevent_req_nterror(req, status)) {
return;
}
@@ -570,7 +570,7 @@ static void dreplsrv_update_refs_done(struct rpc_request *rreq)
struct drsuapi_DsReplicaUpdateRefs);
NTSTATUS status;
- status = dcerpc_ndr_request_recv(rreq);
+ status = dcerpc_drsuapi_DsReplicaUpdateRefs_recv(rreq);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("UpdateRefs failed with %s\n",
nt_errstr(status)));