diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-04-10 20:47:18 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-04-29 19:05:04 +0200 |
commit | bbf28703a47fc464a7d5dac25e6a4a6cf96fe3e9 (patch) | |
tree | 9e4e77cec64f57974efd3b328f87f67170e2cbb0 /source4/torture | |
parent | 6611f0109b73d8c9ff5679e434aa8e354f28608a (diff) | |
download | samba-bbf28703a47fc464a7d5dac25e6a4a6cf96fe3e9.tar.gz samba-bbf28703a47fc464a7d5dac25e6a4a6cf96fe3e9.tar.bz2 samba-bbf28703a47fc464a7d5dac25e6a4a6cf96fe3e9.zip |
s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS"
Reviewed-by: abartlet
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/testjoin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c index 776ddbab72..76344e0ddf 100644 --- a/source4/torture/rpc/testjoin.c +++ b/source4/torture/rpc/testjoin.c @@ -583,7 +583,7 @@ static NTSTATUS torture_leave_ads_domain(struct torture_context *torture, ldb_set_opaque(ldb_ctx, "loadparm", cmdline_lp_ctx); rtn = ldb_connect(ldb_ctx, remote_ldb_url, 0, NULL); - if (rtn != 0) { + if (rtn != LDB_SUCCESS) { libnet_r->out.error_string = NULL; talloc_free(tmp_ctx); return NT_STATUS_UNSUCCESSFUL; |