summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_out_pull.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-07-08 16:20:11 +0200
committerStefan Metzmacher <metze@samba.org>2010-07-09 09:27:16 +0200
commit538bb9b3ec2d3250bb97fe6f6f01e6917399fd01 (patch)
tree38cdc716ee5172b55de6ed2b0afdd6b1e6f35c6d /source4/dsdb/repl/drepl_out_pull.c
parent49deed5a77af0a774cf186c2332416fbf6bba05b (diff)
downloadsamba-538bb9b3ec2d3250bb97fe6f6f01e6917399fd01.tar.gz
samba-538bb9b3ec2d3250bb97fe6f6f01e6917399fd01.tar.bz2
samba-538bb9b3ec2d3250bb97fe6f6f01e6917399fd01.zip
s4:dsdb/repl: expose drsuapi_DsExtendedError to the caller (e.g. the ridalloc client)
metze
Diffstat (limited to 'source4/dsdb/repl/drepl_out_pull.c')
-rw-r--r--source4/dsdb/repl/drepl_out_pull.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/repl/drepl_out_pull.c b/source4/dsdb/repl/drepl_out_pull.c
index c82b48dcbe..e9b57a1fec 100644
--- a/source4/dsdb/repl/drepl_out_pull.c
+++ b/source4/dsdb/repl/drepl_out_pull.c
@@ -154,13 +154,13 @@ static void dreplsrv_pending_op_callback(struct tevent_req *subreq)
DEBUG(1,("dreplsrv_op_pull_source(%s/%s) for %s failures[%u]\n",
win_errstr(rf->result_last_attempt),
- win_errstr(rf->result_last_attempt),
+ nt_errstr(werror_to_ntstatus(rf->result_last_attempt)),
ldb_dn_get_linearized(op->source_dsa->partition->dn),
rf->consecutive_sync_failures));
done:
if (op->callback) {
- op->callback(s, rf->result_last_attempt);
+ op->callback(s, rf->result_last_attempt, op->extended_ret);
}
talloc_free(op);
s->ops.current = NULL;