diff options
author | Günther Deschner <gd@samba.org> | 2010-08-05 02:25:37 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-08-05 10:12:25 +0200 |
commit | c136b84f0d28d1a88c5918b06f81766a271a3780 (patch) | |
tree | ff9f74effdf63e58517597fecc92474786100ff7 /source3/passdb | |
parent | 1946ab5a1b4be6d64307fb24847640f959a1e024 (diff) | |
download | samba-c136b84f0d28d1a88c5918b06f81766a271a3780.tar.gz samba-c136b84f0d28d1a88c5918b06f81766a271a3780.tar.bz2 samba-c136b84f0d28d1a88c5918b06f81766a271a3780.zip |
s3-secrets: only include secrets.h when needed.
Guenther
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/lookup_sid.c | 1 | ||||
-rw-r--r-- | source3/passdb/machine_account_secrets.c | 1 | ||||
-rw-r--r-- | source3/passdb/machine_sid.c | 1 | ||||
-rw-r--r-- | source3/passdb/passdb.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_ads.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_interface.c | 1 | ||||
-rw-r--r-- | source3/passdb/pdb_ldap.c | 1 | ||||
-rw-r--r-- | source3/passdb/secrets.c | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 9a5edcfa3a..0ec1f420f9 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/passdb/lookup_sid.c @@ -21,6 +21,7 @@ #include "includes.h" #include "../librpc/gen_ndr/ndr_security.h" +#include "secrets.h" /***************************************************************** Dissect a user-provided name into domain, name, sid and type. diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c index db99d010ec..c5a8faf694 100644 --- a/source3/passdb/machine_account_secrets.c +++ b/source3/passdb/machine_account_secrets.c @@ -24,6 +24,7 @@ #include "includes.h" #include "../libcli/auth/libcli_auth.h" +#include "secrets.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c index 703e6ef268..0f735c40ef 100644 --- a/source3/passdb/machine_sid.c +++ b/source3/passdb/machine_sid.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "secrets.h" /* NOTE! the global_sam_sid is the SID of our local SAM. This is only equal to the domain SID when we are a DC, otherwise its our diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c index abcd4d1dc3..1989f6d191 100644 --- a/source3/passdb/passdb.c +++ b/source3/passdb/passdb.c @@ -24,6 +24,7 @@ #include "includes.h" #include "../libcli/auth/libcli_auth.h" +#include "secrets.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c index 1c420f8584..3ca24c4991 100644 --- a/source3/passdb/pdb_ads.c +++ b/source3/passdb/pdb_ads.c @@ -21,6 +21,7 @@ #include "tldap.h" #include "tldap_util.h" #include "../libds/common/flags.h" +#include "secrets.h" struct pdb_ads_state { struct sockaddr_un socket_address; diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c index b5da2658e2..ba6725e7a5 100644 --- a/source3/passdb/pdb_interface.c +++ b/source3/passdb/pdb_interface.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "secrets.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 2e48023d8b..451012d5b0 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -45,6 +45,7 @@ #include "includes.h" #include "../libcli/auth/libcli_auth.h" +#include "secrets.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index b673ad12a4..52c8e8060f 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -25,6 +25,7 @@ #include "includes.h" #include "../libcli/auth/libcli_auth.h" #include "librpc/gen_ndr/ndr_secrets.h" +#include "secrets.h" #undef DBGC_CLASS #define DBGC_CLASS DBGC_PASSDB |