summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-05 02:25:37 +0200
committerGünther Deschner <gd@samba.org>2010-08-05 10:12:25 +0200
commitc136b84f0d28d1a88c5918b06f81766a271a3780 (patch)
treeff9f74effdf63e58517597fecc92474786100ff7 /source3/auth
parent1946ab5a1b4be6d64307fb24847640f959a1e024 (diff)
downloadsamba-c136b84f0d28d1a88c5918b06f81766a271a3780.tar.gz
samba-c136b84f0d28d1a88c5918b06f81766a271a3780.tar.bz2
samba-c136b84f0d28d1a88c5918b06f81766a271a3780.zip
s3-secrets: only include secrets.h when needed.
Guenther
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_domain.c1
-rw-r--r--source3/auth/auth_netlogond.c1
-rw-r--r--source3/auth/token_util.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index f25fb4a2c7..0fc6410fec 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -22,6 +22,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "rpc_client/cli_netlogon.h"
+#include "secrets.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
diff --git a/source3/auth/auth_netlogond.c b/source3/auth/auth_netlogond.c
index 7eea5af605..8be2c6a00c 100644
--- a/source3/auth/auth_netlogond.c
+++ b/source3/auth/auth_netlogond.c
@@ -21,6 +21,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/ndr_netlogon.h"
#include "rpc_client/cli_netlogon.h"
+#include "secrets.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_AUTH
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c
index 3a288ddcf2..7634e76f1c 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 "secrets.h"
/****************************************************************************
Check for a SID in an NT_USER_TOKEN