summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-02 09:46:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:56 -0500
commit09a76e204cf339862f8b0b45979d65cc34aa3c36 (patch)
tree4d533b65f33d04d5b76d3435ad41b54c2998df44 /source4/lib/ldb/tools
parent62ffbdb9f1d9ded63f6d8623f14741145a2d6b47 (diff)
downloadsamba-09a76e204cf339862f8b0b45979d65cc34aa3c36.tar.gz
samba-09a76e204cf339862f8b0b45979d65cc34aa3c36.tar.bz2
samba-09a76e204cf339862f8b0b45979d65cc34aa3c36.zip
r4477: expanded the test suite to increase code coverage a lot
(This used to be commit 4edbd1b18ee38e584cf844b64c7fcb2645921837)
Diffstat (limited to 'source4/lib/ldb/tools')
-rw-r--r--source4/lib/ldb/tools/ldbsearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c
index 9041231faf..5e0246d7a9 100644
--- a/source4/lib/ldb/tools/ldbsearch.c
+++ b/source4/lib/ldb/tools/ldbsearch.c
@@ -153,7 +153,7 @@ static int do_search(struct ldb_context *ldb,
attrs = (const char * const *)(argv+1);
}
- ldb = ldb_connect(ldb_url, 0, options);
+ ldb = ldb_connect(ldb_url, LDB_FLG_RDONLY, options);
if (!ldb) {
perror("ldb_connect");
exit(1);