summaryrefslogtreecommitdiff
path: root/source4/torture/ldap
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r--source4/torture/ldap/schema.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/ldap/schema.c b/source4/torture/ldap/schema.c
index f6e19a1adb..51ff6f301f 100644
--- a/source4/torture/ldap/schema.c
+++ b/source4/torture/ldap/schema.c
@@ -500,6 +500,7 @@ BOOL torture_ldap_schema(struct torture_context *torture)
NULL,
cmdline_credentials,
0, NULL);
+ if (!ldb) goto failed;
ret &= test_search_rootDSE(ldb, &rootDSE);
if (!ret) goto failed;