mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
s3-auth: use auth.h where needed.
Guenther
This commit is contained in:
parent
1b6767d262
commit
7e73214ebf
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libgpo/gpo.h"
|
#include "libgpo/gpo.h"
|
||||||
|
#include "auth.h"
|
||||||
#if _SAMBA_BUILD_ == 4
|
#if _SAMBA_BUILD_ == 4
|
||||||
#include "libgpo/gpo_s4.h"
|
#include "libgpo/gpo_s4.h"
|
||||||
#include "source4/libgpo/ads_convenience.h"
|
#include "source4/libgpo/ads_convenience.h"
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "libcli/security/security.h"
|
#include "libcli/security/security.h"
|
||||||
#include "../libgpo/gpo.h"
|
#include "../libgpo/gpo.h"
|
||||||
|
#include "auth.h"
|
||||||
#if _SAMBA_BUILD_ == 4
|
#if _SAMBA_BUILD_ == 4
|
||||||
#include "libgpo/ads_convenience.h"
|
#include "libgpo/ads_convenience.h"
|
||||||
#include "librpc/gen_ndr/security.h"
|
#include "librpc/gen_ndr/security.h"
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "smbd/globals.h"
|
#include "smbd/globals.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
#define DBGC_CLASS DBGC_AUTH
|
#define DBGC_CLASS DBGC_AUTH
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
extern struct auth_context *negprot_global_auth_context;
|
extern struct auth_context *negprot_global_auth_context;
|
||||||
extern bool global_encrypted_passwords_negotiated;
|
extern bool global_encrypted_passwords_negotiated;
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "../libcli/auth/libcli_auth.h"
|
#include "../libcli/auth/libcli_auth.h"
|
||||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||||
#include "rpc_client/cli_pipe.h"
|
#include "rpc_client/cli_pipe.h"
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "../libcli/auth/libcli_auth.h"
|
#include "../libcli/auth/libcli_auth.h"
|
||||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||||
#include "librpc/gen_ndr/ndr_schannel.h"
|
#include "librpc/gen_ndr/ndr_schannel.h"
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "../libcli/auth/ntlmssp.h"
|
#include "../libcli/auth/ntlmssp.h"
|
||||||
#include "ntlmssp_wrap.h"
|
#include "ntlmssp_wrap.h"
|
||||||
#include "../librpc/gen_ndr/netlogon.h"
|
#include "../librpc/gen_ndr/netlogon.h"
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "../libcli/auth/libcli_auth.h"
|
#include "../libcli/auth/libcli_auth.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
#undef malloc
|
#undef malloc
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "system/passwd.h"
|
#include "system/passwd.h"
|
||||||
#include "smbd/smbd.h"
|
#include "smbd/smbd.h"
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "system/passwd.h"
|
#include "system/passwd.h"
|
||||||
#include "../librpc/gen_ndr/samr.h"
|
#include "../librpc/gen_ndr/samr.h"
|
||||||
#include "smbd/globals.h"
|
#include "smbd/globals.h"
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "smbd/globals.h"
|
#include "smbd/globals.h"
|
||||||
#include "../libcli/auth/libcli_auth.h"
|
#include "../libcli/auth/libcli_auth.h"
|
||||||
#include "../lib/crypto/arcfour.h"
|
#include "../lib/crypto/arcfour.h"
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "nsswitch/libwbclient/wbclient.h"
|
#include "nsswitch/libwbclient/wbclient.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "nsswitch/libwbclient/wbclient.h"
|
#include "nsswitch/libwbclient/wbclient.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "../libcli/auth/libcli_auth.h"
|
#include "../libcli/auth/libcli_auth.h"
|
||||||
#include "passdb.h"
|
#include "passdb.h"
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "../libcli/auth/pam_errors.h"
|
#include "../libcli/auth/pam_errors.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
password database. The SMB encrypted password support is elsewhere */
|
password database. The SMB encrypted password support is elsewhere */
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
#define DBGC_CLASS DBGC_AUTH
|
#define DBGC_CLASS DBGC_AUTH
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "../lib/crypto/arcfour.h"
|
#include "../lib/crypto/arcfour.h"
|
||||||
#include "../librpc/gen_ndr/netlogon.h"
|
#include "../librpc/gen_ndr/netlogon.h"
|
||||||
#include "../libcli/security/security.h"
|
#include "../libcli/security/security.h"
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "smbd/globals.h"
|
#include "smbd/globals.h"
|
||||||
#include "../libcli/auth/libcli_auth.h"
|
#include "../libcli/auth/libcli_auth.h"
|
||||||
#include "nsswitch/winbind_client.h"
|
#include "nsswitch/winbind_client.h"
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
/* functions moved from auth/auth_util.c to minimize linker deps */
|
/* functions moved from auth/auth_util.c to minimize linker deps */
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "secrets.h"
|
#include "secrets.h"
|
||||||
#include "memcache.h"
|
#include "memcache.h"
|
||||||
#include "../librpc/gen_ndr/netlogon.h"
|
#include "../librpc/gen_ndr/netlogon.h"
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "librpc/gen_ndr/samr.h"
|
#include "librpc/gen_ndr/samr.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
#include "auth.h"
|
||||||
#include "librpc/gen_ndr/krb5pac.h"
|
#include "librpc/gen_ndr/krb5pac.h"
|
||||||
#include "nsswitch/libwbclient/wbclient.h"
|
#include "nsswitch/libwbclient/wbclient.h"
|
||||||
#include "passdb.h"
|
#include "passdb.h"
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
/*******************************************************************
|
/*******************************************************************
|
||||||
Map a username from a dos name to a unix name by looking in the username
|
Map a username from a dos name to a unix name by looking in the username
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "system/passwd.h"
|
#include "system/passwd.h"
|
||||||
#include "secrets.h"
|
#include "secrets.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
static char *alloc_sub_basic(const char *smb_name, const char *domain_name,
|
static char *alloc_sub_basic(const char *smb_name, const char *domain_name,
|
||||||
const char *str);
|
const char *str);
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#include "system/filesys.h"
|
#include "system/filesys.h"
|
||||||
#include "web/swat_proto.h"
|
#include "web/swat_proto.h"
|
||||||
#include "intl/lang_tdb.h"
|
#include "intl/lang_tdb.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
#define MAX_VARIABLES 10000
|
#define MAX_VARIABLES 10000
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#include "idmap.h"
|
#include "idmap.h"
|
||||||
#include "lib/addrchange.h"
|
#include "lib/addrchange.h"
|
||||||
#include "serverid.h"
|
#include "serverid.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
#define DBGC_CLASS DBGC_WINBIND
|
#define DBGC_CLASS DBGC_WINBIND
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include "ads.h"
|
#include "ads.h"
|
||||||
#include "../librpc/gen_ndr/krb5pac.h"
|
#include "../librpc/gen_ndr/krb5pac.h"
|
||||||
#include "passdb/machine_sid.h"
|
#include "passdb/machine_sid.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
#define DBGC_CLASS DBGC_WINBIND
|
#define DBGC_CLASS DBGC_WINBIND
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
#include "rpc_server/rpc_ncacn_np.h"
|
#include "rpc_server/rpc_ncacn_np.h"
|
||||||
#include "../libcli/security/security.h"
|
#include "../libcli/security/security.h"
|
||||||
#include "passdb/machine_sid.h"
|
#include "passdb/machine_sid.h"
|
||||||
|
#include "auth.h"
|
||||||
|
|
||||||
#undef DBGC_CLASS
|
#undef DBGC_CLASS
|
||||||
#define DBGC_CLASS DBGC_WINBIND
|
#define DBGC_CLASS DBGC_WINBIND
|
||||||
|
Loading…
Reference in New Issue
Block a user