summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-10 20:47:43 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-04-29 19:05:04 +0200
commit6611f0109b73d8c9ff5679e434aa8e354f28608a (patch)
treed3ed307c7eb1b77c246e1bb2401ca774478c5107 /source4/torture/rpc
parentaec1bc7febfb8d3b18018e7b5b653210a0d94e93 (diff)
downloadsamba-6611f0109b73d8c9ff5679e434aa8e354f28608a.tar.gz
samba-6611f0109b73d8c9ff5679e434aa8e354f28608a.tar.bz2
samba-6611f0109b73d8c9ff5679e434aa8e354f28608a.zip
s4:torture/rpc/testjoin.c - use a LDB result constant
Reviewed-by: abartlet
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/testjoin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index c4ab0e43ad..776ddbab72 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -590,7 +590,7 @@ static NTSTATUS torture_leave_ads_domain(struct torture_context *torture,
}
rtn = ldb_delete(ldb_ctx, server_dn);
- if (rtn != 0) {
+ if (rtn != LDB_SUCCESS) {
libnet_r->out.error_string = NULL;
talloc_free(tmp_ctx);
return NT_STATUS_UNSUCCESSFUL;