summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools/ldbtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/tools/ldbtest.c')
-rw-r--r--source4/lib/ldb/tools/ldbtest.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/lib/ldb/tools/ldbtest.c b/source4/lib/ldb/tools/ldbtest.c
index a7c9a3123a..28ac7545a4 100644
--- a/source4/lib/ldb/tools/ldbtest.c
+++ b/source4/lib/ldb/tools/ldbtest.c
@@ -365,14 +365,6 @@ static void usage(void)
options->basedn = "ou=Ldb Test,ou=People,o=University of Michigan,c=US";
}
- ret = ldb_connect(ldb, options->url, 0, options->options);
- if (ret != 0) {
- fprintf(stderr, "Failed to connect to %s - %s\n",
- options->url, ldb_errstring(ldb));
- talloc_free(ldb);
- exit(1);
- }
-
srandom(1);
start_test(ldb, options->num_records, options->num_searches);