summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-12-05 16:21:59 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-09 19:39:08 +0100
commit4afb7dcb43c6903568c0fe2c2c2044706e9bd613 (patch)
treec0e0087f0ed758b54530c1878167225d6abc4a54 /source4/torture/rpc
parent5089442bfdbeff7314e589387c3702f9c401e12a (diff)
downloadsamba-4afb7dcb43c6903568c0fe2c2c2044706e9bd613.tar.gz
samba-4afb7dcb43c6903568c0fe2c2c2044706e9bd613.tar.bz2
samba-4afb7dcb43c6903568c0fe2c2c2044706e9bd613.zip
s4-torture: exit early when join fails in samba3rpc tests.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samba3rpc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index d8d90ce9f6..0dd9dbddcb 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -399,7 +399,9 @@ static bool get_usr_handle(struct torture_context *tctx,
samr_pipe = dcerpc_pipe_init(mem_ctx, tctx->ev);
torture_assert(tctx, samr_pipe, "dcerpc_pipe_init failed");
-
+#if 0
+ samr_pipe->conn->flags |= DCERPC_DEBUG_PRINT_IN | DCERPC_DEBUG_PRINT_OUT;
+#endif
samr_handle = samr_pipe->binding_handle;
torture_assert_ntstatus_ok(tctx,
@@ -744,7 +746,7 @@ static bool join3(struct torture_context *tctx,
goto done;
}
samr_handle = samr_pipe->binding_handle;
-
+ ret = false;
{
struct samr_QueryUserInfo q;
union samr_UserInfo *info;