summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgpo/gpo_ldap.c1
-rw-r--r--libgpo/gpo_sec.c1
-rw-r--r--source3/auth/auth.c1
-rw-r--r--source3/auth/auth_builtin.c1
-rw-r--r--source3/auth/auth_compat.c1
-rw-r--r--source3/auth/auth_domain.c1
-rw-r--r--source3/auth/auth_netlogond.c1
-rw-r--r--source3/auth/auth_ntlmssp.c1
-rw-r--r--source3/auth/auth_sam.c1
-rw-r--r--source3/auth/auth_script.c1
-rw-r--r--source3/auth/auth_server.c1
-rw-r--r--source3/auth/auth_unix.c1
-rw-r--r--source3/auth/auth_util.c1
-rw-r--r--source3/auth/auth_wbc.c1
-rw-r--r--source3/auth/auth_winbind.c1
-rw-r--r--source3/auth/check_samsec.c1
-rw-r--r--source3/auth/pampass.c1
-rw-r--r--source3/auth/pass_check.c1
-rw-r--r--source3/auth/server_info.c1
-rw-r--r--source3/auth/server_info_sam.c1
-rw-r--r--source3/auth/token_util.c1
-rw-r--r--source3/auth/user_info.c1
-rw-r--r--source3/auth/user_krb5.c1
-rw-r--r--source3/auth/user_util.c1
-rw-r--r--source3/lib/substitute.c1
-rw-r--r--source3/web/cgi.c1
-rw-r--r--source3/winbindd/winbindd.c1
-rw-r--r--source3/winbindd/winbindd_pam.c1
-rw-r--r--source3/winbindd/winbindd_samr.c1
29 files changed, 29 insertions, 0 deletions
diff --git a/libgpo/gpo_ldap.c b/libgpo/gpo_ldap.c
index e6b9609bab2..6abaf29cf0d 100644
--- a/libgpo/gpo_ldap.c
+++ b/libgpo/gpo_ldap.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "libgpo/gpo.h"
+#include "auth.h"
#if _SAMBA_BUILD_ == 4
#include "libgpo/gpo_s4.h"
#include "source4/libgpo/ads_convenience.h"
diff --git a/libgpo/gpo_sec.c b/libgpo/gpo_sec.c
index e0304d464a5..4e1612d21c6 100644
--- a/libgpo/gpo_sec.c
+++ b/libgpo/gpo_sec.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "libcli/security/security.h"
#include "../libgpo/gpo.h"
+#include "auth.h"
#if _SAMBA_BUILD_ == 4
#include "libgpo/ads_convenience.h"
#include "librpc/gen_ndr/security.h"
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index 790bfaca231..dbe337faa83 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "smbd/globals.h"
#undef DBGC_CLASS
diff --git a/source3/auth/auth_builtin.c b/source3/auth/auth_builtin.c
index bf6d7015acc..afe71ee2a60 100644
--- a/source3/auth/auth_builtin.c
+++ b/source3/auth/auth_builtin.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "auth.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
diff --git a/source3/auth/auth_compat.c b/source3/auth/auth_compat.c
index ffad36e9f2e..0ae712a5175 100644
--- a/source3/auth/auth_compat.c
+++ b/source3/auth/auth_compat.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "auth.h"
extern struct auth_context *negprot_global_auth_context;
extern bool global_encrypted_passwords_negotiated;
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index c69ae63b182..5824d91a0a2 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "rpc_client/cli_pipe.h"
diff --git a/source3/auth/auth_netlogond.c b/source3/auth/auth_netlogond.c
index 5c765425336..8e332c8e5aa 100644
--- a/source3/auth/auth_netlogond.c
+++ b/source3/auth/auth_netlogond.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "librpc/gen_ndr/ndr_schannel.h"
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c
index 7ec423ce00d..ae29c305703 100644
--- a/source3/auth/auth_ntlmssp.c
+++ b/source3/auth/auth_ntlmssp.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "../libcli/auth/ntlmssp.h"
#include "ntlmssp_wrap.h"
#include "../librpc/gen_ndr/netlogon.h"
diff --git a/source3/auth/auth_sam.c b/source3/auth/auth_sam.c
index ffbe5b48049..8d2300dda74 100644
--- a/source3/auth/auth_sam.c
+++ b/source3/auth/auth_sam.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "../libcli/auth/libcli_auth.h"
#undef DBGC_CLASS
diff --git a/source3/auth/auth_script.c b/source3/auth/auth_script.c
index ee017335149..ad973106b1c 100644
--- a/source3/auth/auth_script.c
+++ b/source3/auth/auth_script.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "auth.h"
#undef malloc
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index 7ca370971c7..5dc8ea7f04b 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "system/passwd.h"
#include "smbd/smbd.h"
diff --git a/source3/auth/auth_unix.c b/source3/auth/auth_unix.c
index 5d89ca8d5d2..8f9eacf76b3 100644
--- a/source3/auth/auth_unix.c
+++ b/source3/auth/auth_unix.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "system/passwd.h"
#include "../librpc/gen_ndr/samr.h"
#include "smbd/globals.h"
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 72217af51ba..c84e3d3508f 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "smbd/globals.h"
#include "../libcli/auth/libcli_auth.h"
#include "../lib/crypto/arcfour.h"
diff --git a/source3/auth/auth_wbc.c b/source3/auth/auth_wbc.c
index 06ddbb12779..61500402293 100644
--- a/source3/auth/auth_wbc.c
+++ b/source3/auth/auth_wbc.c
@@ -38,6 +38,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "nsswitch/libwbclient/wbclient.h"
#undef DBGC_CLASS
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index ff738beca0b..21433535415 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "nsswitch/libwbclient/wbclient.h"
#undef DBGC_CLASS
diff --git a/source3/auth/check_samsec.c b/source3/auth/check_samsec.c
index 98d7ce87e39..f918dc0db19 100644
--- a/source3/auth/check_samsec.c
+++ b/source3/auth/check_samsec.c
@@ -21,6 +21,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "../libcli/auth/libcli_auth.h"
#include "passdb.h"
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index a4f136c5b8b..c4da1e676c1 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -27,6 +27,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "../libcli/auth/pam_errors.h"
#undef DBGC_CLASS
diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c
index d3b9b926018..93aa89cf24a 100644
--- a/source3/auth/pass_check.c
+++ b/source3/auth/pass_check.c
@@ -21,6 +21,7 @@
password database. The SMB encrypted password support is elsewhere */
#include "includes.h"
+#include "auth.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c
index ca35ba76a14..3190b756c46 100644
--- a/source3/auth/server_info.c
+++ b/source3/auth/server_info.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "../lib/crypto/arcfour.h"
#include "../librpc/gen_ndr/netlogon.h"
#include "../libcli/security/security.h"
diff --git a/source3/auth/server_info_sam.c b/source3/auth/server_info_sam.c
index 35bbebabfe7..5fd78a30fa7 100644
--- a/source3/auth/server_info_sam.c
+++ b/source3/auth/server_info_sam.c
@@ -22,6 +22,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "smbd/globals.h"
#include "../libcli/auth/libcli_auth.h"
#include "nsswitch/winbind_client.h"
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c
index c2f4571f83b..af166760d09 100644
--- a/source3/auth/token_util.c
+++ b/source3/auth/token_util.c
@@ -25,6 +25,7 @@
/* functions moved from auth/auth_util.c to minimize linker deps */
#include "includes.h"
+#include "auth.h"
#include "secrets.h"
#include "memcache.h"
#include "../librpc/gen_ndr/netlogon.h"
diff --git a/source3/auth/user_info.c b/source3/auth/user_info.c
index 3d4ee08b9f6..606381b0e39 100644
--- a/source3/auth/user_info.c
+++ b/source3/auth/user_info.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "librpc/gen_ndr/samr.h"
#undef DBGC_CLASS
diff --git a/source3/auth/user_krb5.c b/source3/auth/user_krb5.c
index 481af6ab73a..e52149afd7e 100644
--- a/source3/auth/user_krb5.c
+++ b/source3/auth/user_krb5.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "auth.h"
#include "librpc/gen_ndr/krb5pac.h"
#include "nsswitch/libwbclient/wbclient.h"
#include "passdb.h"
diff --git a/source3/auth/user_util.c b/source3/auth/user_util.c
index 4ed6db1f62f..d982c746c6b 100644
--- a/source3/auth/user_util.c
+++ b/source3/auth/user_util.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "system/filesys.h"
+#include "auth.h"
/*******************************************************************
Map a username from a dos name to a unix name by looking in the username
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index 297d387af5f..e72a8c3b616 100644
--- a/source3/lib/substitute.c
+++ b/source3/lib/substitute.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "system/passwd.h"
#include "secrets.h"
+#include "auth.h"
static char *alloc_sub_basic(const char *smb_name, const char *domain_name,
const char *str);
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index c50f92bca77..94590a28dee 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -22,6 +22,7 @@
#include "system/filesys.h"
#include "web/swat_proto.h"
#include "intl/lang_tdb.h"
+#include "auth.h"
#define MAX_VARIABLES 10000
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 86c328593a5..6e7dfce09a4 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -34,6 +34,7 @@
#include "idmap.h"
#include "lib/addrchange.h"
#include "serverid.h"
+#include "auth.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 6f3fee78092..52ffa235eb3 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -36,6 +36,7 @@
#include "ads.h"
#include "../librpc/gen_ndr/krb5pac.h"
#include "passdb/machine_sid.h"
+#include "auth.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
diff --git a/source3/winbindd/winbindd_samr.c b/source3/winbindd/winbindd_samr.c
index c369945c350..a1c464013dd 100644
--- a/source3/winbindd/winbindd_samr.c
+++ b/source3/winbindd/winbindd_samr.c
@@ -36,6 +36,7 @@
#include "rpc_server/rpc_ncacn_np.h"
#include "../libcli/security/security.h"
#include "passdb/machine_sid.h"
+#include "auth.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND