s3-auth: use auth.h where needed.
authorGünther Deschner <gd@samba.org>
Fri, 25 Mar 2011 01:28:05 +0000 (02:28 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 29 Mar 2011 23:13:09 +0000 (01:13 +0200)
Guenther

29 files changed:
libgpo/gpo_ldap.c
libgpo/gpo_sec.c
source3/auth/auth.c
source3/auth/auth_builtin.c
source3/auth/auth_compat.c
source3/auth/auth_domain.c
source3/auth/auth_netlogond.c
source3/auth/auth_ntlmssp.c
source3/auth/auth_sam.c
source3/auth/auth_script.c
source3/auth/auth_server.c
source3/auth/auth_unix.c
source3/auth/auth_util.c
source3/auth/auth_wbc.c
source3/auth/auth_winbind.c
source3/auth/check_samsec.c
source3/auth/pampass.c
source3/auth/pass_check.c
source3/auth/server_info.c
source3/auth/server_info_sam.c
source3/auth/token_util.c
source3/auth/user_info.c
source3/auth/user_krb5.c
source3/auth/user_util.c
source3/lib/substitute.c
source3/web/cgi.c
source3/winbindd/winbindd.c
source3/winbindd/winbindd_pam.c
source3/winbindd/winbindd_samr.c

index e6b9609bab20c56b0cb7755f7394bcdbf0873dd5..6abaf29cf0d333d6f7e572dc5786a4e1b4a93223 100644 (file)
@@ -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"
index e0304d464a53fe185e7b7436543efb19e7bb1dc6..4e1612d21c6c189c7a85b1ff1c844ce8103f16fb 100644 (file)
@@ -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"
index 790bfaca2313bb3baacbcc37e5c099b8576564c9..dbe337faa83169b61135dadc8d493b2c87e47dc5 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 #include "smbd/globals.h"
 
 #undef DBGC_CLASS
index bf6d7015acc4929b3f3174f7361730890cb0a134..afe71ee2a6095e6d4b15d32c45f0ac37da49f773 100644 (file)
@@ -19,6 +19,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_AUTH
index ffad36e9f2e0e3162e3ab06ac7e90bd9faa4676d..0ae712a5175f447baa9513db3efee5403fbe78b5 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 
 extern struct auth_context *negprot_global_auth_context;
 extern bool global_encrypted_passwords_negotiated;
index c69ae63b18255d6760881a1caa1a17e9853aedb7..5824d91a0a2bbe961f7f12b53fbc6389de85b89c 100644 (file)
@@ -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"
index 5c76542533607b28a9f4410f657448c46701a885..8e332c8e5aae555bfbee748734f0487e4781a8fc 100644 (file)
@@ -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"
index 7ec423ce00de20055afca08b69e286293e8a1f4d..ae29c305703cc71bf1e6fb3bf21379b2855e0ac7 100644 (file)
@@ -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"
index ffbe5b48049206ee06f93032c9b36e8812059a14..8d2300dda74816f8b898b7a316bceda686feadf4 100644 (file)
@@ -21,6 +21,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 #include "../libcli/auth/libcli_auth.h"
 
 #undef DBGC_CLASS
index ee01733514954cee04425be5c3fca55cdba39c83..ad973106b1c082fc7256e5ece343cd0984db5813 100644 (file)
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 
 #undef malloc
 
index 7ca370971c7077c4c6f67bd93d91af5e23ed4ed6..5dc8ea7f04b0ada1b9f9ff40ac3df21c0a64f97a 100644 (file)
@@ -19,6 +19,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 #include "system/passwd.h"
 #include "smbd/smbd.h"
 
index 5d89ca8d5d21f336590f762b8bce6573b1935397..8f9eacf76b3ef4494f55483f99f5c86e8ca564eb 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 #include "system/passwd.h"
 #include "../librpc/gen_ndr/samr.h"
 #include "smbd/globals.h"
index 72217af51ba7db103983ba1af81a292fd335a706..c84e3d3508fc4d7ea0eb6a576abfb2d2606941a9 100644 (file)
@@ -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"
index 06ddbb12779f8dd094b03d2ade27fab28be1a4cc..6150040229364bb940827a3ab2c191f5726c3347 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "includes.h"
+#include "auth.h"
 #include "nsswitch/libwbclient/wbclient.h"
 
 #undef DBGC_CLASS
index ff738beca0ba6f04afb53e8da021e016d7bac5a4..214335354150f795ab09d05ebe8015f383db32e1 100644 (file)
@@ -21,6 +21,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 #include "nsswitch/libwbclient/wbclient.h"
 
 #undef DBGC_CLASS
index 98d7ce87e397925ce1a92477fa9ba99cc22b7d31..f918dc0db198772aeca30c068c364ea51241da19 100644 (file)
@@ -21,6 +21,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 #include "../libcli/auth/libcli_auth.h"
 #include "passdb.h"
 
index a4f136c5b8bd0fd681396e98c91649a9138545ff..c4da1e676c128a7314f37b29b0b76420ea3b58ff 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include "includes.h"
+#include "auth.h"
 #include "../libcli/auth/pam_errors.h"
 
 #undef DBGC_CLASS
index d3b9b9260183164f39ef9f456e1df955f66d074f..93aa89cf24a368bb92e9583f1513d48c8930dcee 100644 (file)
@@ -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
index ca35ba76a1467b445bdf585fe2ef53218c44b408..3190b756c4634e96563b316cf8423e8f8947a3e6 100644 (file)
@@ -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"
index 35bbebabfe7f70725d48db36f89c8090b8dd230e..5fd78a30fa7eafe3aa61713ee660d0230e9d83b4 100644 (file)
@@ -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"
index c2f4571f83bd6c043ba9e573b7166d5cb6c27fe5..af166760d0964f3c3804614a94f9e651da0b2d37 100644 (file)
@@ -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"
index 3d4ee08b9f6a0b15782af0315de910508d985ac6..606381b0e39f9fed702b8107251214365bbde7cd 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 #include "librpc/gen_ndr/samr.h"
 
 #undef DBGC_CLASS
index 481af6ab73a59e71f206cb36a2c5aea6e1b0c6de..e52149afd7e66289509beca5aff6de21aab6c77c 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "includes.h"
+#include "auth.h"
 #include "librpc/gen_ndr/krb5pac.h"
 #include "nsswitch/libwbclient/wbclient.h"
 #include "passdb.h"
index 4ed6db1f62fa292fe07a9eb0dcb7c3e38b5c34ce..d982c746c6bf4b0beeca6bbd6ab2a5fdb67e9083 100644 (file)
@@ -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
index 297d387af5f4cc20d1cb82a97433a7f916bc7069..e72a8c3b6160ec0eeefca06d0925de0ef12b2419 100644 (file)
@@ -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);
index c50f92bca7791741b99631e99da346e22aad8c78..94590a28dee5497824f4d16e7367c21ea596c678 100644 (file)
@@ -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
 
index 86c328593a579b00dde33847c1002dc8a1e86143..6e7dfce09a4eb071f6a6fc09ac8ee136a9d691b1 100644 (file)
@@ -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
index 6f3fee78092415e660826e9a6af427e0ff21d97a..52ffa235eb3e95957ce5474000d7d8ae2f9701ca 100644 (file)
@@ -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
index c369945c3506be8b45c8aff9e82d26d33222e78c..a1c464013dd90bbeb2bd03b63f558ce702f6898e 100644 (file)
@@ -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