diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-06 23:34:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:21 -0500 |
commit | 49efc495417b5900c653f8d6453dcceed9c02239 (patch) | |
tree | 8eff02daf40d49620ceb832413ec44f0d3a52415 | |
parent | ba564a901e519b0f2cf2b7651bd260f618506b5c (diff) | |
download | samba-49efc495417b5900c653f8d6453dcceed9c02239.tar.gz samba-49efc495417b5900c653f8d6453dcceed9c02239.tar.bz2 samba-49efc495417b5900c653f8d6453dcceed9c02239.zip |
r13904: Make sure LDB gets initialized
(This used to be commit 4339e3e7d746d2fcb16ce2662a22a880e426367b)
-rw-r--r-- | source4/utils/net/net.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |