git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a2ba0c
)
Report binding in libnet failure message.
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 13 Mar 2008 03:13:31 +0000
(14:13 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 13 Mar 2008 03:13:31 +0000
(14:13 +1100)
Andrew Bartlett
(This used to be commit
def46f6852075e1efe2bb7c5a7cffa5defdbb4ee
)
source4/libnet/libnet_rpc.c
patch
|
blob
|
history
diff --git
a/source4/libnet/libnet_rpc.c
b/source4/libnet/libnet_rpc.c
index 667f54c447444b9b57944af1c6a0551dea40fa21..50cc1145d2491290260a5766cafa02d4bb06fdf0 100644
(file)
--- a/
source4/libnet/libnet_rpc.c
+++ b/
source4/libnet/libnet_rpc.c
@@
-867,8
+867,11
@@
static NTSTATUS libnet_RpcConnectDCInfo_recv(struct composite_context *c, struct
} else {
if (s->r.out.error_string) {
r->out.error_string = talloc_steal(mem_ctx, s->r.out.error_string);
} else {
if (s->r.out.error_string) {
r->out.error_string = talloc_steal(mem_ctx, s->r.out.error_string);
- } else {
+ } else
if (r->in.binding == NULL)
{
r->out.error_string = talloc_asprintf(mem_ctx, "Connection to DC failed: %s", nt_errstr(status));
r->out.error_string = talloc_asprintf(mem_ctx, "Connection to DC failed: %s", nt_errstr(status));
+ } else {
+ r->out.error_string = talloc_asprintf(mem_ctx, "Connection to DC %s failed: %s",
+ r->in.binding, nt_errstr(status));
}
}
}
}