diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-04-05 06:00:44 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:50 -0500 |
commit | e936efb26f52dd1d8f90ea4754abc567491c01f1 (patch) | |
tree | 3ee3487388f410bf97fc3a94e7eabc8175621e03 /source4 | |
parent | eb94925e370f24c9675505e400789bb06d792346 (diff) | |
download | samba-e936efb26f52dd1d8f90ea4754abc567491c01f1.tar.gz samba-e936efb26f52dd1d8f90ea4754abc567491c01f1.tar.bz2 samba-e936efb26f52dd1d8f90ea4754abc567491c01f1.zip |
r22086: Bail out early on some of these failures.
(This used to be commit 8311bdfde92a9efe7730ed4a0f5f70f8e0d25ef6)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/dssync.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c index 31f9c602c7..3d9accf4fe 100644 --- a/source4/torture/rpc/dssync.c +++ b/source4/torture/rpc/dssync.c @@ -811,9 +811,18 @@ BOOL torture_rpc_dssync(struct torture_context *torture) ctx = test_create_context(mem_ctx); ret &= _test_DsBind(ctx, ctx->admin.credentials, &ctx->admin.drsuapi); + if (!ret) { + return ret; + } ret &= test_LDAPBind(ctx, ctx->admin.credentials, &ctx->admin.ldap); + if (!ret) { + return ret; + } ret &= test_GetInfo(ctx); ret &= _test_DsBind(ctx, ctx->new_dc.credentials, &ctx->new_dc.drsuapi); + if (!ret) { + return ret; + } ret &= test_FetchData(ctx); ret &= test_FetchNT4Data(ctx); |