s4:dsdb Print the partition we failed to suggest replication for
authorAndrew Bartlett <abartlet@samba.org>
Sat, 19 Sep 2009 21:27:29 +0000 (14:27 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 19 Sep 2009 21:36:14 +0000 (14:36 -0700)
source4/dsdb/repl/drepl_notify.c

index d354b4e2993fbfc0d50e8e447e7c9da231b05409..e8652dcaf1377327c1dd4ab353ec3f9c3c92154f 100644 (file)
@@ -179,8 +179,9 @@ static void dreplsrv_notify_op_callback(struct dreplsrv_notify_operation *op)
 
        status = composite_wait(op->creq);
        if (!NT_STATUS_IS_OK(status)) {
-               DEBUG(0,("dreplsrv_notify: Failed to send DsReplicaSync to %s - %s\n",
+               DEBUG(0,("dreplsrv_notify: Failed to send DsReplicaSync to %s for %s - %s\n",
                         op->source_dsa->repsFrom1->other_info->dns_name,
+                        ldb_dn_get_linearized(op->source_dsa->partition->dn),
                         nt_errstr(status)));
        } else {
                DEBUG(2,("dreplsrv_notify: DsReplicaSync OK for %s\n",