summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/ndrdump.c1
-rw-r--r--source4/utils/net/net.c3
-rw-r--r--source4/utils/ntlm_auth.c4
3 files changed, 2 insertions, 6 deletions
diff --git a/source4/utils/ndrdump.c b/source4/utils/ndrdump.c
index 33bffe77b5..497726279b 100644
--- a/source4/utils/ndrdump.c
+++ b/source4/utils/ndrdump.c
@@ -22,7 +22,6 @@
#include "lib/cmdline/popt_common.h"
#include "system/iconv.h"
#include "system/filesys.h"
-#include "smb_build.h"
static const struct dcerpc_interface_call *find_function(
const struct dcerpc_interface_table *p,
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index 17b12b7103..f82eddb763 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -44,7 +44,6 @@
#include "includes.h"
#include "utils/net/net.h"
#include "lib/cmdline/popt_common.h"
-#include "smb_build.h"
/*
run a function from a function table. If not found then
@@ -186,7 +185,7 @@ static int binary_net(int argc, const char **argv)
return net_usage(ctx, argc, argv);
}
- net_init_subsystems;
+ dcerpc_init();
mem_ctx = talloc_init("net_context");
ctx = talloc(mem_ctx, struct net_context);
diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c
index ffdbd2f2f6..d6b65d75d7 100644
--- a/source4/utils/ntlm_auth.c
+++ b/source4/utils/ntlm_auth.c
@@ -27,7 +27,6 @@
#include "lib/cmdline/popt_common.h"
#include "auth/auth.h"
#include "pstring.h"
-#include "smb_build.h"
#define SQUID_BUFFER_SIZE 2010
@@ -931,8 +930,7 @@ int main(int argc, const char **argv)
return 1;
}
- ntlm_auth_init_subsystems;
-
+ gensec_init();
if (opt_domain == NULL) {
opt_domain = lp_workgroup();