1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r13904: Make sure LDB gets initialized

(This used to be commit 4339e3e7d7)
This commit is contained in:
Jelmer Vernooij 2006-03-06 23:34:57 +00:00 committed by Gerald (Jerry) Carter
parent ba564a901e
commit 49efc49541

View File

@ -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) {