summaryrefslogtreecommitdiff
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 e6b9609bab..6abaf29cf0 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 e0304d464a..4e1612d21c 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 790bfaca23..dbe337faa8 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 bf6d7015ac..afe71ee2a6 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 ffad36e9f2..0ae712a517 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 c69ae63b18..5824d91a0a 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 5c76542533..8e332c8e5a 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 7ec423ce00..ae29c30570 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 ffbe5b4804..8d2300dda7 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 ee01733514..ad973106b1 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 7ca370971c..5dc8ea7f04 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 5d89ca8d5d..8f9eacf76b 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 72217af51b..c84e3d3508 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 06ddbb1277..6150040229 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 ff738beca0..2143353541 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 98d7ce87e3..f918dc0db1 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 a4f136c5b8..c4da1e676c 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 d3b9b92601..93aa89cf24 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 ca35ba76a1..3190b756c4 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 35bbebabfe..5fd78a30fa 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 c2f4571f83..af166760d0 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 3d4ee08b9f..606381b0e3 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 481af6ab73..e52149afd7 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 4ed6db1f62..d982c746c6 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 297d387af5..e72a8c3b61 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 c50f92bca7..94590a28de 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 86c328593a..6e7dfce09a 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 6f3fee7809..52ffa235eb 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 c369945c35..a1c464013d 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