mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
s3-netlogon: remove global include of netlogon.h.
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
This commit is contained in:
parent
ccd4af271f
commit
0f8e032628
@ -23,6 +23,7 @@
|
||||
#include "includes.h"
|
||||
#include "../libcli/auth/ntlmssp.h"
|
||||
#include "ntlmssp_wrap.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
NTSTATUS auth_ntlmssp_steal_server_info(TALLOC_CTX *mem_ctx,
|
||||
struct auth_ntlmssp_state *auth_ntlmssp_state,
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "../lib/crypto/arcfour.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_AUTH
|
||||
|
@ -27,6 +27,8 @@
|
||||
#include "includes.h"
|
||||
#include "secrets.h"
|
||||
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
/****************************************************************************
|
||||
Check for a SID in an NT_USER_TOKEN
|
||||
****************************************************************************/
|
||||
|
@ -180,6 +180,10 @@ NTSTATUS auth_winbind_init(void);
|
||||
|
||||
/* The following definitions come from auth/server_info.c */
|
||||
|
||||
struct netr_SamInfo2;
|
||||
struct netr_SamInfo3;
|
||||
struct netr_SamInfo6;
|
||||
|
||||
struct auth_serversupplied_info *make_server_info(TALLOC_CTX *mem_ctx);
|
||||
NTSTATUS serverinfo_to_SamInfo2(struct auth_serversupplied_info *server_info,
|
||||
uint8_t *pipe_session_key,
|
||||
@ -2728,6 +2732,8 @@ NTSTATUS dcerpc_pull_auth_trailer(struct ncacn_packet *pkt,
|
||||
|
||||
/* The following definitions come from libsmb/dsgetdcname.c */
|
||||
|
||||
struct netr_DsRGetDCNameInfo;
|
||||
|
||||
void debug_dsdcinfo_flags(int lvl, uint32_t flags);
|
||||
NTSTATUS dsgetdcname(TALLOC_CTX *mem_ctx,
|
||||
struct messaging_context *msg_ctx,
|
||||
|
@ -178,7 +178,6 @@ typedef union unid_t {
|
||||
|
||||
#include "librpc/gen_ndr/idmap.h"
|
||||
#include "librpc/gen_ndr/epmapper.h"
|
||||
#include "librpc/gen_ndr/netlogon.h"
|
||||
#include "librpc/gen_ndr/dcerpc.h"
|
||||
|
||||
struct lsa_dom_info {
|
||||
|
@ -19,11 +19,11 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
#include "../librpc/gen_ndr/cli_netlogon.h"
|
||||
#include "librpc/gen_ndr/libnetapi.h"
|
||||
#include "lib/netapi/netapi.h"
|
||||
#include "lib/netapi/netapi_private.h"
|
||||
#include "lib/netapi/libnetapi.h"
|
||||
#include "../librpc/gen_ndr/cli_netlogon.h"
|
||||
|
||||
/********************************************************************
|
||||
********************************************************************/
|
||||
|
@ -20,12 +20,12 @@
|
||||
#include "includes.h"
|
||||
#include "ads.h"
|
||||
#include "librpc/gen_ndr/libnetapi.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "lib/netapi/netapi.h"
|
||||
#include "lib/netapi/netapi_private.h"
|
||||
#include "lib/netapi/libnetapi.h"
|
||||
#include "librpc/gen_ndr/libnet_join.h"
|
||||
#include "libnet/libnet_join.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_wkssvc.h"
|
||||
#include "secrets.h"
|
||||
|
||||
|
@ -19,11 +19,11 @@
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
#include "../librpc/gen_ndr/cli_netlogon.h"
|
||||
#include "librpc/gen_ndr/libnetapi.h"
|
||||
#include "lib/netapi/netapi.h"
|
||||
#include "lib/netapi/netapi_private.h"
|
||||
#include "lib/netapi/libnetapi.h"
|
||||
#include "../librpc/gen_ndr/cli_netlogon.h"
|
||||
|
||||
static WERROR construct_data(enum netr_LogonControlCode function_code,
|
||||
const uint8_t *data_in,
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/ndr_security.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
#include "../libcli/security/dom_sid.h"
|
||||
|
||||
/*
|
||||
|
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_VFS
|
||||
|
@ -58,6 +58,7 @@
|
||||
|
||||
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
|
||||
static int vfs_full_audit_debug_level = DBGC_VFS;
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
|
||||
#define ALLOC_CHECK(ptr, label) do { if ((ptr) == NULL) { DEBUG(0, ("recycle.bin: out of memory!\n")); errno = ENOMEM; goto label; } } while(0)
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "vfs_smb_traffic_analyzer.h"
|
||||
#include "../libcli/security/dom_sid.h"
|
||||
#include "secrets.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
|
||||
/* abstraction for the send_over_network function */
|
||||
enum sock_type {INTERNET_SOCKET = 0, UNIX_DOMAIN_SOCKET};
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "includes.h"
|
||||
#include "librpc/gen_ndr/xattr.h"
|
||||
#include "librpc/gen_ndr/ndr_xattr.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_VFS
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "rpc_server/srv_spoolss_util.h"
|
||||
#include "nt_printing.h"
|
||||
#include "secrets.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
/* Map generic permissions to printer object specific permissions */
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
#include "../librpc/gen_ndr/ndr_spoolss.h"
|
||||
#include "nt_printing.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
extern struct current_user current_user;
|
||||
extern userdom_struct current_user_info;
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/srv_lsa.h"
|
||||
#include "secrets.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_RPC_SRV
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include "registry/reg_objects.h"
|
||||
#include "include/printing.h"
|
||||
#include "secrets.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
/* macros stolen from s4 spoolss server */
|
||||
#define SPOOLSS_BUFFER_UNION(fn,info,level) \
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
/* Fix up prototypes for OSX 10.4, where they're missing */
|
||||
#ifndef HAVE_SETNETGRENT_PROTOTYPE
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
extern userdom_struct current_user_info;
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "smbd/globals.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
|
||||
/* what user is current? */
|
||||
extern struct current_user current_user;
|
||||
|
Loading…
x
Reference in New Issue
Block a user