From 49efc495417b5900c653f8d6453dcceed9c02239 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Mar 2006 23:34:57 +0000 Subject: r13904: Make sure LDB gets initialized (This used to be commit 4339e3e7d746d2fcb16ce2662a22a880e426367b) --- source4/utils/net/net.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/utils') diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c index f82eddb763..303449c742 100644 --- a/source4/utils/net/net.c +++ b/source4/utils/net/net.c @@ -44,6 +44,7 @@ #include "includes.h" #include "utils/net/net.h" #include "lib/cmdline/popt_common.h" +#include "lib/ldb/include/ldb.h" /* run a function from a function table. If not found then @@ -187,6 +188,8 @@ static int binary_net(int argc, const char **argv) dcerpc_init(); + ldb_global_init(); + mem_ctx = talloc_init("net_context"); ctx = talloc(mem_ctx, struct net_context); if (!ctx) { -- cgit