git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b682937
)
s4:vampire Print error message when we fail on the CLDAP ping
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 9 Nov 2009 09:31:42 +0000
(20:31 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 11 Nov 2009 21:11:19 +0000
(08:11 +1100)
Andrew Bartlett
source4/libnet/libnet_become_dc.c
patch
|
blob
|
history
diff --git
a/source4/libnet/libnet_become_dc.c
b/source4/libnet/libnet_become_dc.c
index 6668be83ac8c619837b470f89f97c2b83acd766e..5e40f867507aa7a9633bc3018d0475e207045104 100644
(file)
--- a/
source4/libnet/libnet_become_dc.c
+++ b/
source4/libnet/libnet_become_dc.c
@@
-784,8
+784,13
@@
static void becomeDC_recv_cldap(struct tevent_req *req)
lp_iconv_convenience(s->libnet->lp_ctx),
s, &s->cldap.io);
talloc_free(req);
- if (!composite_is_ok(c)) return;
-
+ if (!composite_is_ok(c)) {
+ DEBUG(0,("Failed to send, receive or parse CLDAP reply from server %s for our host %s: %s\n",
+ s->cldap.io.in.dest_address,
+ s->cldap.io.in.host,
+ nt_errstr(c->status)));
+ return;
+ }
s->cldap.netlogon = s->cldap.io.out.netlogon.data.nt5_ex;
s->domain.dns_name = s->cldap.netlogon.dns_domain;