svn commit: samba r14636 - in
branches/SAMBA_4_0/source/torture/rpc: .
abartlet at samba.org
abartlet at samba.org
Wed Mar 22 10:18:32 GMT 2006
Author: abartlet
Date: 2006-03-22 10:18:31 +0000 (Wed, 22 Mar 2006)
New Revision: 14636
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14636
Log:
Print an error on torture connect failure. (Helps with debugging).
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/torture/rpc/rpc.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/rpc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/rpc.c 2006-03-22 10:16:59 UTC (rev 14635)
+++ branches/SAMBA_4_0/source/torture/rpc/rpc.c 2006-03-22 10:18:31 UTC (rev 14636)
@@ -44,6 +44,10 @@
p, binding, table,
cmdline_credentials, NULL);
+ if (!NT_STATUS_IS_OK(status)) {
+ printf("Failed to connect to remote server: %s %s\n", binding, nt_errstr(status));
+ }
+
return status;
}
More information about the samba-cvs
mailing list