summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-25 02:28:05 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:09 +0200
commit7e73214ebf614a1f876bf80d374c1e1bc9379981 (patch)
tree2542a6af269eccf6df70ee3fe044d5fbe2b8e43b /source3/auth
parent1b6767d26218eaf85ec7af9281c6674bab36ce3f (diff)
downloadsamba-7e73214ebf614a1f876bf80d374c1e1bc9379981.tar.gz
samba-7e73214ebf614a1f876bf80d374c1e1bc9379981.tar.bz2
samba-7e73214ebf614a1f876bf80d374c1e1bc9379981.zip
s3-auth: use auth.h where needed.
Guenther
Diffstat (limited to 'source3/auth')
-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
22 files changed, 22 insertions, 0 deletions
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