summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-05-23 23:59:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:31 -0500
commit71152824efbad4dd15886766739b7f00e5efc0d3 (patch)
tree712d8c8502ed109ef661e05e3ab7b39b465d965d /source4/lib
parentf1655e0298e2178b6551543bae56f37b09ce603f (diff)
downloadsamba-71152824efbad4dd15886766739b7f00e5efc0d3.tar.gz
samba-71152824efbad4dd15886766739b7f00e5efc0d3.tar.bz2
samba-71152824efbad4dd15886766739b7f00e5efc0d3.zip
r15847: We probably want to keep the global init
(This used to be commit 35df457fe61e1b1f0746eadba867f7ac149e9600)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/tools/ldbsearch.c2
1 files changed, 2 insertions, 0 deletions
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);