git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d4dbd
)
torture: Add better debug message when tsocket_address_inet_from_strings fails
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 31 Aug 2015 00:51:14 +0000
(12:51 +1200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 20 Oct 2015 18:22:22 +0000
(20:22 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/rpc/lsa.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/lsa.c
b/source4/torture/rpc/lsa.c
index 44cdbdc5ede9b4f88a4c456ea000af1488c45608..4ba246f1b4f9bd326beab398dc7f2c0663cac54b 100644
(file)
--- a/
source4/torture/rpc/lsa.c
+++ b/
source4/torture/rpc/lsa.c
@@
-4186,7
+4186,10
@@
static bool check_dom_trust_pw(struct dcerpc_pipe *p,
host,
lpcfg_cldap_port(tctx->lp_ctx),
&dest_addr);
- torture_assert_int_equal(tctx, rc, 0, "tsocket_address_inet_from_strings");
+ torture_assert_int_equal(tctx, rc, 0,
+ talloc_asprintf(tctx,
+ "tsocket_address_inet_from_strings failed parsing %s:%d",
+ host, lpcfg_cldap_port(tctx->lp_ctx)));
/* cldap_socket_init should now know about the dest. address */
status = cldap_socket_init(tctx, NULL, dest_addr, &cldap);