summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-16 20:12:00 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:40 +0100
commitca0b72a1fdb7bd965065e833df34662afef0423e (patch)
tree4030d16b135f54cdbbffa61dba2c6e9bda1766d2 /source4/param
parentb7c5d2b0c9e3366e61bf83ea7b49aff4da05ac0d (diff)
downloadsamba-ca0b72a1fdb7bd965065e833df34662afef0423e.tar.gz
samba-ca0b72a1fdb7bd965065e833df34662afef0423e.tar.bz2
samba-ca0b72a1fdb7bd965065e833df34662afef0423e.zip
r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/config.mk2
-rw-r--r--source4/param/secrets.c4
-rw-r--r--source4/param/share_ldb.c2
3 files changed, 5 insertions, 3 deletions
diff --git a/source4/param/config.mk b/source4/param/config.mk
index 5ed1097296..7082a8bca3 100644
--- a/source4/param/config.mk
+++ b/source4/param/config.mk
@@ -47,4 +47,4 @@ PRIVATE_DEPENDENCIES = LIBLDB
[SUBSYSTEM::SECRETS]
OBJ_FILES = secrets.o
-PRIVATE_DEPENDENCIES = DB_WRAP UTIL_TDB
+PRIVATE_DEPENDENCIES = LDB_WRAP UTIL_TDB
diff --git a/source4/param/secrets.c b/source4/param/secrets.c
index 6640fd473d..aea27d1cfc 100644
--- a/source4/param/secrets.c
+++ b/source4/param/secrets.c
@@ -25,10 +25,12 @@
#include "secrets.h"
#include "param/param.h"
#include "system/filesys.h"
-#include "db_wrap.h"
+#include "tdb_wrap.h"
+#include "ldb_wrap.h"
#include "lib/ldb/include/ldb.h"
#include "lib/tdb/include/tdb.h"
#include "lib/util/util_tdb.h"
+#include "lib/util/util_ldb.h"
#include "dsdb/samdb/samdb.h"
static struct tdb_wrap *tdb;
diff --git a/source4/param/share_ldb.c b/source4/param/share_ldb.c
index 019b161639..ece9c0544b 100644
--- a/source4/param/share_ldb.c
+++ b/source4/param/share_ldb.c
@@ -23,7 +23,7 @@
#include "ldb/include/ldb.h"
#include "ldb/include/ldb_errors.h"
#include "auth/auth.h"
-#include "db_wrap.h"
+#include "ldb_wrap.h"
#include "param/share.h"
#include "param/param.h"