s4-drepsrv: Dump more info when drepl_replica_sync() fails
authorKamen Mazdrashki <kamenim@samba.org>
Tue, 7 Sep 2010 18:22:47 +0000 (21:22 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Thu, 9 Sep 2010 15:26:50 +0000 (18:26 +0300)
commit3fa3bc7ebaa2f8a5bacb7766329e89ab4e36f644
tree37100a4ddd795a8f64157f8518f253ccdcb2bfe1
parent81e97c09c366b6b51ef2229789c8d223f812a6d0
s4-drepsrv: Dump more info when drepl_replica_sync() fails

There are many spots where this function may fail
and I find it very useful to know where exactly function
fails and what are the input parameters during testing.

REPLICA_SYNC_FAIL() macro now dumps an error message
so we may remove extra DEBUG() dump in implementation.
source4/dsdb/repl/drepl_service.c