diff options
Diffstat (limited to 'source4/utils')
-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) { |