summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/lib/netapi/netapi.c1
-rw-r--r--source3/libnet/libnet_join.c1
-rw-r--r--source3/libnet/libnet_samsync_keytab.c1
-rw-r--r--source3/libsmb/cliconnect.c1
-rw-r--r--source3/printing/nt_printing_ads.c1
-rw-r--r--source3/utils/net_ads.c1
7 files changed, 6 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index ab828c05c6..98ba38027e 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -626,7 +626,6 @@ extern void *cmdline_lp_ctx;
#include "../lib/util/time.h"
#include "../lib/util/asn1.h"
-#include "krb5_env.h"
#include "libads/ads_status.h"
#include "interfaces.h"
#include "trans2.h"
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c
index 975e306b5d..c4c2556b0b 100644
--- a/source3/lib/netapi/netapi.c
+++ b/source3/lib/netapi/netapi.c
@@ -21,6 +21,7 @@
#include "lib/netapi/netapi.h"
#include "lib/netapi/netapi_private.h"
#include "secrets.h"
+#include "krb5_env.h"
extern bool AllowDebugChange;
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 349ef55569..34fe3a72ab 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -34,6 +34,7 @@
#include "../libds/common/flags.h"
#include "secrets.h"
#include "rpc_client/init_lsa.h"
+#include "krb5_env.h"
/****************************************************************
****************************************************************/
diff --git a/source3/libnet/libnet_samsync_keytab.c b/source3/libnet/libnet_samsync_keytab.c
index faba1e73ad..0f7c5afac6 100644
--- a/source3/libnet/libnet_samsync_keytab.c
+++ b/source3/libnet/libnet_samsync_keytab.c
@@ -23,6 +23,7 @@
#include "ads.h"
#include "libnet/libnet_keytab.h"
#include "libnet/libnet_samsync.h"
+#include "krb5_env.h"
#if defined(HAVE_ADS)
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 54e6a5d166..49da8edb7c 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -25,6 +25,7 @@
#include "smb_krb5.h"
#include "../libcli/auth/ntlmssp.h"
#include "libads/kerberos_proto.h"
+#include "krb5_env.h"
static const struct {
int prot;
diff --git a/source3/printing/nt_printing_ads.c b/source3/printing/nt_printing_ads.c
index 637a2ba8ac..de24ce82ac 100644
--- a/source3/printing/nt_printing_ads.c
+++ b/source3/printing/nt_printing_ads.c
@@ -25,6 +25,7 @@
#include "nt_printing.h"
#include "ads.h"
#include "secrets.h"
+#include "krb5_env.h"
#ifdef HAVE_ADS
/*****************************************************************
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index ced5674b10..08bb9d1f60 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -33,6 +33,7 @@
#include "libnet/libnet_join.h"
#include "smb_krb5.h"
#include "secrets.h"
+#include "krb5_env.h"
#ifdef HAVE_ADS