summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-08-23 11:11:35 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-23 15:55:39 +1000
commit2d2a0cb5823080694df0ba161017a83876048d93 (patch)
tree75699124906e7cac67665558186726795c5c8bc1 /source4/libnet
parenta2cb6ef017402e16d2012ffa165b66eb3dafe10b (diff)
downloadsamba-2d2a0cb5823080694df0ba161017a83876048d93.tar.gz
samba-2d2a0cb5823080694df0ba161017a83876048d93.tar.bz2
samba-2d2a0cb5823080694df0ba161017a83876048d93.zip
s4-libnet: show the DN when DsAddEntry() fails
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_become_dc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c
index 828fd521d9..fc7faa4948 100644
--- a/source4/libnet/libnet_become_dc.c
+++ b/source4/libnet/libnet_become_dc.c
@@ -2287,8 +2287,9 @@ static void becomeDC_drsuapi1_add_entry_recv(struct tevent_req *subreq)
return;
}
- DEBUG(0,("DsAddEntry (R3) failed: "
+ DEBUG(0,("DsAddEntry (R3) of '%s' failed: "
"Errors: dir_err = %d, status = %s;\n",
+ r->in.req->req3.first_object.object.identifier->dn,
err_data->v1.dir_err,
win_errstr(err_data->v1.status)));