summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-18 18:59:23 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:25:55 +0200
commit7a05ca2c9cd387a92e1ad699ae72caea55895c13 (patch)
treef62c3b24c67766013470d40f2193747e234634dd /source3/passdb
parentca765d2f50f8eff1537f70bb637918d90301acf4 (diff)
downloadsamba-7a05ca2c9cd387a92e1ad699ae72caea55895c13.tar.gz
samba-7a05ca2c9cd387a92e1ad699ae72caea55895c13.tar.bz2
samba-7a05ca2c9cd387a92e1ad699ae72caea55895c13.zip
s3-build: use dbwrap.h only where needed.
Guenther
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/account_pol.c1
-rw-r--r--source3/passdb/machine_account_secrets.c1
-rw-r--r--source3/passdb/machine_sid.c1
-rw-r--r--source3/passdb/pdb_tdb.c1
-rw-r--r--source3/passdb/secrets.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/source3/passdb/account_pol.c b/source3/passdb/account_pol.c
index 7a3e7de140..a66c48d396 100644
--- a/source3/passdb/account_pol.c
+++ b/source3/passdb/account_pol.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "dbwrap.h"
static struct db_context *db;
/* cache all entries for 60 seconds for to save ldap-queries (cache is updated
diff --git a/source3/passdb/machine_account_secrets.c b/source3/passdb/machine_account_secrets.c
index c5a8faf694..f3206d4eb8 100644
--- a/source3/passdb/machine_account_secrets.c
+++ b/source3/passdb/machine_account_secrets.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "../libcli/auth/libcli_auth.h"
#include "secrets.h"
+#include "dbwrap.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB
diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c
index 0f735c40ef..c3534f7fa7 100644
--- a/source3/passdb/machine_sid.c
+++ b/source3/passdb/machine_sid.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "secrets.h"
+#include "dbwrap.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/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index 526633b58d..e1c2c437ff 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -23,6 +23,7 @@
*/
#include "includes.h"
+#include "dbwrap.h"
#if 0 /* when made a module use this */
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index 52c8e8060f..1bb0e25cf7 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -26,6 +26,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "librpc/gen_ndr/ndr_secrets.h"
#include "secrets.h"
+#include "dbwrap.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB