summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/rpc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c
index 34bd05e008..493191523c 100644
--- a/source4/torture/rpc/rpc.c
+++ b/source4/torture/rpc/rpc.c
@@ -44,6 +44,10 @@ _PUBLIC_ NTSTATUS torture_rpc_connection(TALLOC_CTX *parent_ctx,
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;
}