summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-05 15:14:04 +0200
committerGünther Deschner <gd@samba.org>2010-08-06 15:46:16 +0200
commit0f8e032628865861b356755b4fbafb6fbfeddbeb (patch)
treee808554c71c650f65d846372150b884a0c64b560 /source3/auth
parentccd4af271f73e88abd6899a347f9ce5af69c1f1c (diff)
downloadsamba-0f8e032628865861b356755b4fbafb6fbfeddbeb.tar.gz
samba-0f8e032628865861b356755b4fbafb6fbfeddbeb.tar.bz2
samba-0f8e032628865861b356755b4fbafb6fbfeddbeb.zip
s3-netlogon: remove global include of netlogon.h.
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_ntlmssp.c1
-rw-r--r--source3/auth/server_info.c1
-rw-r--r--source3/auth/token_util.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c
index 0cccab51fd..c212bb39d4 100644
--- a/source3/auth/auth_ntlmssp.c
+++ b/source3/auth/auth_ntlmssp.c
@@ -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,
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c
index 782dc410e0..e457bd4ae7 100644
--- a/source3/auth/server_info.c
+++ b/source3/auth/server_info.c
@@ -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
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c
index 7634e76f1c..21d9af1f54 100644
--- a/source3/auth/token_util.c
+++ b/source3/auth/token_util.c
@@ -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
****************************************************************************/