diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-07-16 13:00:07 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-07-16 14:42:11 +0200 |
commit | f3fae86549ee0ea6cef5cee27af7bb53e7963d7b (patch) | |
tree | b8192a09bc719654a2dd05a7deb5a05ec2f4eef1 /source4/dsdb | |
parent | a24fb2b537a57c308385de9fe5149e29740d1d1b (diff) | |
download | samba-f3fae86549ee0ea6cef5cee27af7bb53e7963d7b.tar.gz samba-f3fae86549ee0ea6cef5cee27af7bb53e7963d7b.tar.bz2 samba-f3fae86549ee0ea6cef5cee27af7bb53e7963d7b.zip |
drsuapi: check ctr6->drs_error
metze
(This used to be commit 511847f5f5015bcdef69e80b91cb08ffb1690e59)
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/repl/drepl_out_helpers.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index e0c3268f9d..694d89dfe3 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -326,6 +326,13 @@ static void dreplsrv_op_pull_source_get_changes_recv(struct rpc_request *req) return; } + if (ctr_level == 6) { + if (!W_ERROR_IS_OK(ctr6->drs_error)) { + composite_error(c, werror_to_ntstatus(ctr6->drs_error)); + return; + } + } + dreplsrv_op_pull_source_apply_changes_send(st, r, ctr_level, ctr1, ctr6); } |