git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba564a9
)
r13904: Make sure LDB gets initialized
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 6 Mar 2006 23:34:57 +0000
(23:34 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:52:21 +0000
(13:52 -0500)
(This used to be commit
4339e3e7d746d2fcb16ce2662a22a880e426367b
)
source4/utils/net/net.c
patch
|
blob
|
history
diff --git
a/source4/utils/net/net.c
b/source4/utils/net/net.c
index f82eddb76364a8d9fa5ff456a1bed6854fa5af37..303449c7428551adcaf2d0817f3c623918a18a80 100644
(file)
--- 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) {