summaryrefslogtreecommitdiff
path: root/source4/passdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-20 23:32:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:30 -0500
commitaf870da6194b47c6cd09445c1e03832d00e951bb (patch)
treed8693e9c9fc8055d98d4275b7669e2186c86aafa /source4/passdb
parentb316b78cd5d2c511f59ef325c5e8fec68e02ddfe (diff)
downloadsamba-af870da6194b47c6cd09445c1e03832d00e951bb.tar.gz
samba-af870da6194b47c6cd09445c1e03832d00e951bb.tar.bz2
samba-af870da6194b47c6cd09445c1e03832d00e951bb.zip
r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c
tdbutil.c is Samba specific, so should not be part of the generic tdb library (This used to be commit 979dd24f5e44605fc1603b690913b8c31be7478f)
Diffstat (limited to 'source4/passdb')
-rw-r--r--source4/passdb/config.mk3
-rw-r--r--source4/passdb/secrets.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/passdb/config.mk b/source4/passdb/config.mk
index 51e2c4a83e..81897323c9 100644
--- a/source4/passdb/config.mk
+++ b/source4/passdb/config.mk
@@ -1,4 +1,5 @@
[SUBSYSTEM::SECRETS]
PRIVATE_PROTO_HEADER = proto.h
OBJ_FILES = secrets.o
-PRIVATE_DEPENDENCIES = DB_WRAP
+PRIVATE_DEPENDENCIES = DB_WRAP UTIL_TDB
+
diff --git a/source4/passdb/secrets.c b/source4/passdb/secrets.c
index 7171fa11ab..876be607f1 100644
--- a/source4/passdb/secrets.c
+++ b/source4/passdb/secrets.c
@@ -23,12 +23,13 @@
such as the local SID and machine trust password */
#include "includes.h"
-#include "lib/tdb/include/tdbutil.h"
#include "secrets.h"
#include "param/param.h"
#include "system/filesys.h"
#include "db_wrap.h"
#include "lib/ldb/include/ldb.h"
+#include "lib/tdb/include/tdb.h"
+#include "lib/util/util_tdb.h"
#include "dsdb/samdb/samdb.h"
static struct tdb_wrap *tdb;