s4-drs: give DN of failed replication partition
authorAndrew Tridgell <tridge@samba.org>
Sat, 9 Jan 2010 09:42:23 +0000 (20:42 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sat, 9 Jan 2010 10:59:32 +0000 (21:59 +1100)
source4/dsdb/repl/drepl_out_pull.c

index c2ea7e69747a3ad4a602fff28424124c3c851f1e..101214609af2b9caa96c3250857702a0403bf487 100644 (file)
@@ -123,10 +123,11 @@ static void dreplsrv_pending_op_callback(struct tevent_req *subreq)
 
        rf->consecutive_sync_failures++;
 
-       DEBUG(1,("dreplsrv_op_pull_source(%s/%s) failures[%u]\n",
-               win_errstr(rf->result_last_attempt),
-               nt_errstr(werror_to_ntstatus(rf->result_last_attempt)),
-               rf->consecutive_sync_failures));
+       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),
+                ldb_dn_get_linearized(op->source_dsa->partition->dn),
+                rf->consecutive_sync_failures));
 
 done:
        if (op->callback) {