Author: idra
Date: 2006-05-23 23:59:26 +0000 (Tue, 23 May 2006)
New Revision: 15847

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15847

Log:

We probably want to keep the global init


Modified:
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2006-05-23 23:52:05 UTC 
(rev 15846)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2006-05-23 23:59:26 UTC 
(rev 15847)
@@ -284,6 +284,8 @@
        int ret = -1;
        const char *expression = "(|(objectClass=*)(distinguishedName=*))";
 
+       ldb_global_init();
+
        ldb = ldb_init(NULL);
 
        options = ldb_cmdline_process(ldb, argc, argv, usage);

Reply via email to