From 71152824efbad4dd15886766739b7f00e5efc0d3 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 23 May 2006 23:59:26 +0000 Subject: r15847: We probably want to keep the global init (This used to be commit 35df457fe61e1b1f0746eadba867f7ac149e9600) --- source4/lib/ldb/tools/ldbsearch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib') diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c index a069614d47..ba65df49e8 100644 --- a/source4/lib/ldb/tools/ldbsearch.c +++ b/source4/lib/ldb/tools/ldbsearch.c @@ -284,6 +284,8 @@ int main(int argc, const char **argv) int ret = -1; const char *expression = "(|(objectClass=*)(distinguishedName=*))"; + ldb_global_init(); + ldb = ldb_init(NULL); options = ldb_cmdline_process(ldb, argc, argv, usage); -- cgit