-
-
-ldb
-
-
-
-tdb
-
-TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
-except that it allows multiple simultaneous writers and uses locking
-internally to keep writers from trampling on each other. TDB is also extremely
-small.
-
-Discussion and bug reports
-
-tdb does not currently have its own mailing list or bug tracking
-system. For now, please use the samba-technical
-mailing list, and the Samba
-bugzilla bug tracking system.
-
-Download
-
-You can download the latest release either via rsync or git.
-
-To fetch via git see the following guide:
-Using Git for Samba Development
-Once you have cloned the tree switch to the v4-0-test branch and cd into the source/lib/tdb directory.
-
-To fetch via rsync use these commands:
-
-
- rsync -Pavz samba.org::ftp/unpacked/tdb .
- rsync -Pavz samba.org::ftp/unpacked/libreplace .
-
-
-and build in tdb. It will find the replace library in the directory
-above automatically.
-
-
-
diff --git a/source4/lib/tdb_wrap.c b/source4/lib/tdb_wrap.c
index 37095df..fadf173 100644
--- a/source4/lib/tdb_wrap.c
+++ b/source4/lib/tdb_wrap.c
@@ -20,7 +20,7 @@
*/
#include "includes.h"
-#include "lib/tdb/include/tdb.h"
+#include "../tdb/include/tdb.h"
#include "lib/util/dlinklist.h"
#include "tdb_wrap.h"
#include "tdb.h"
diff --git a/source4/lib/util/util_tdb.c b/source4/lib/util/util_tdb.c
index e4219df..e89085a 100644
--- a/source4/lib/util/util_tdb.c
+++ b/source4/lib/util/util_tdb.c
@@ -20,7 +20,7 @@
*/
#include "includes.h"
-#include "lib/tdb/include/tdb.h"
+#include "../tdb/include/tdb.h"
#include "pstring.h"
#include "lib/util/util_tdb.h"
diff --git a/source4/param/secrets.c b/source4/param/secrets.c
index 16fbb3b..45d3765 100644
--- a/source4/param/secrets.c
+++ b/source4/param/secrets.c
@@ -27,7 +27,7 @@
#include "system/filesys.h"
#include "tdb_wrap.h"
#include "lib/ldb/include/ldb.h"
-#include "lib/tdb/include/tdb.h"
+#include "../tdb/include/tdb.h"
#include "lib/util/util_tdb.h"
#include "lib/util/util_ldb.h"
#include "librpc/gen_ndr/ndr_security.h"
diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c
index 2ffb724..0d17e53 100644
--- a/source4/smbd/process_prefork.c
+++ b/source4/smbd/process_prefork.c
@@ -25,7 +25,7 @@
#include "includes.h"
#include "lib/events/events.h"
-#include "lib/tdb/include/tdb.h"
+#include "../tdb/include/tdb.h"
#include "lib/socket/socket.h"
#include "smbd/process_model.h"
#include "param/secrets.h"
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c
index 3f2936b..c8f9020 100644
--- a/source4/smbd/process_standard.c
+++ b/source4/smbd/process_standard.c
@@ -23,7 +23,7 @@
#include "includes.h"
#include "lib/events/events.h"
-#include "lib/tdb/include/tdb.h"
+#include "../tdb/include/tdb.h"
#include "lib/socket/socket.h"
#include "smbd/process_model.h"
#include "param/secrets.h"
diff --git a/source3/lib/tdb/Makefile.in b/tdb/Makefile.in
similarity index 100%
rename from source3/lib/tdb/Makefile.in
rename to tdb/Makefile.in
diff --git a/source3/lib/tdb/aclocal.m4 b/tdb/aclocal.m4
similarity index 100%
rename from source3/lib/tdb/aclocal.m4
rename to tdb/aclocal.m4
diff --git a/source3/lib/tdb/autogen.sh b/tdb/autogen.sh
similarity index 100%
rename from source3/lib/tdb/autogen.sh
rename to tdb/autogen.sh
diff --git a/source3/lib/tdb/common/dump.c b/tdb/common/dump.c
similarity index 100%
rename from source3/lib/tdb/common/dump.c
rename to tdb/common/dump.c
diff --git a/source3/lib/tdb/common/error.c b/tdb/common/error.c
similarity index 100%
rename from source3/lib/tdb/common/error.c
rename to tdb/common/error.c
diff --git a/source3/lib/tdb/common/freelist.c b/tdb/common/freelist.c
similarity index 100%
rename from source3/lib/tdb/common/freelist.c
rename to tdb/common/freelist.c
diff --git a/source3/lib/tdb/common/freelistcheck.c b/tdb/common/freelistcheck.c
similarity index 100%
rename from source3/lib/tdb/common/freelistcheck.c
rename to tdb/common/freelistcheck.c
diff --git a/source3/lib/tdb/common/io.c b/tdb/common/io.c
similarity index 100%
rename from source3/lib/tdb/common/io.c
rename to tdb/common/io.c
diff --git a/source3/lib/tdb/common/lock.c b/tdb/common/lock.c
similarity index 100%
rename from source3/lib/tdb/common/lock.c
rename to tdb/common/lock.c
diff --git a/source3/lib/tdb/common/open.c b/tdb/common/open.c
similarity index 100%
rename from source3/lib/tdb/common/open.c
rename to tdb/common/open.c
diff --git a/source3/lib/tdb/common/tdb.c b/tdb/common/tdb.c
similarity index 100%
rename from source3/lib/tdb/common/tdb.c
rename to tdb/common/tdb.c
diff --git a/source3/lib/tdb/common/tdb_private.h b/tdb/common/tdb_private.h
similarity index 100%
rename from source3/lib/tdb/common/tdb_private.h
rename to tdb/common/tdb_private.h
diff --git a/source3/lib/tdb/common/transaction.c b/tdb/common/transaction.c
similarity index 100%
rename from source3/lib/tdb/common/transaction.c
rename to tdb/common/transaction.c
diff --git a/source3/lib/tdb/common/traverse.c b/tdb/common/traverse.c
similarity index 100%
rename from source3/lib/tdb/common/traverse.c
rename to tdb/common/traverse.c
diff --git a/source3/lib/tdb/config.guess b/tdb/config.guess
similarity index 100%
rename from source3/lib/tdb/config.guess
rename to tdb/config.guess
diff --git a/source3/lib/tdb/config.mk b/tdb/config.mk
similarity index 79%
rename from source3/lib/tdb/config.mk
rename to tdb/config.mk
index b9a8f80..90c9ba2 100644
--- a/source3/lib/tdb/config.mk
+++ b/tdb/config.mk
@@ -2,12 +2,12 @@
# Start SUBSYSTEM LIBTDB
[LIBRARY::LIBTDB]
OUTPUT_TYPE = STATIC_LIBRARY
-CFLAGS = -Ilib/tdb/include
+CFLAGS = -I$(tdbsrcdir)/include
#
# End SUBSYSTEM ldb
################################################
-LIBTDB_OBJ_FILES = $(addprefix lib/tdb/common/, \
+LIBTDB_OBJ_FILES = $(addprefix $(tdbsrcdir)/common/, \
tdb.o dump.o io.o lock.o \
open.o traverse.o freelist.o \
error.o transaction.o)
@@ -21,7 +21,7 @@ PRIVATE_DEPENDENCIES = \
# End BINARY tdbtool
################################################
-tdbtool_OBJ_FILES = lib/tdb/tools/tdbtool.o
+tdbtool_OBJ_FILES = $(tdbsrcdir)/tools/tdbtool.o
################################################
# Start BINARY tdbtorture
@@ -32,7 +32,7 @@ PRIVATE_DEPENDENCIES = \
# End BINARY tdbtorture
################################################
-tdbtorture_OBJ_FILES = lib/tdb/tools/tdbtorture.o
+tdbtorture_OBJ_FILES = $(tdbsrcdir)/tools/tdbtorture.o
################################################
# Start BINARY tdbdump
@@ -43,7 +43,7 @@ PRIVATE_DEPENDENCIES = \
# End BINARY tdbdump
################################################
-tdbdump_OBJ_FILES = lib/tdb/tools/tdbdump.o
+tdbdump_OBJ_FILES = $(tdbsrcdir)/tools/tdbdump.o
################################################
# Start BINARY tdbbackup
@@ -54,4 +54,4 @@ PRIVATE_DEPENDENCIES = \
# End BINARY tdbbackup
################################################
-tdbbackup_OBJ_FILES = lib/tdb/tools/tdbbackup.o
+tdbbackup_OBJ_FILES = $(tdbsrcdir)/tools/tdbbackup.o
diff --git a/source3/lib/tdb/config.sub b/tdb/config.sub
similarity index 100%
rename from source3/lib/tdb/config.sub
rename to tdb/config.sub
diff --git a/source3/lib/tdb/configure.ac b/tdb/configure.ac
similarity index 100%
rename from source3/lib/tdb/configure.ac
rename to tdb/configure.ac
diff --git a/source3/lib/tdb/docs/README b/tdb/docs/README
similarity index 100%
rename from source3/lib/tdb/docs/README
rename to tdb/docs/README
diff --git a/source3/lib/tdb/docs/tdb.magic b/tdb/docs/tdb.magic
similarity index 100%
rename from source3/lib/tdb/docs/tdb.magic
rename to tdb/docs/tdb.magic
diff --git a/source3/lib/tdb/include/tdb.h b/tdb/include/tdb.h
similarity index 100%
rename from source3/lib/tdb/include/tdb.h
rename to tdb/include/tdb.h
diff --git a/source3/lib/tdb/install-sh b/tdb/install-sh
similarity index 100%
rename from source3/lib/tdb/install-sh
rename to tdb/install-sh
diff --git a/source3/lib/tdb/libtdb.m4 b/tdb/libtdb.m4
similarity index 100%
rename from source3/lib/tdb/libtdb.m4
rename to tdb/libtdb.m4
diff --git a/source3/lib/tdb/python.mk b/tdb/python.mk
similarity index 100%
rename from source3/lib/tdb/python.mk
rename to tdb/python.mk
diff --git a/source3/lib/tdb/python/tdbdump.py b/tdb/python/tdbdump.py
similarity index 100%
rename from source3/lib/tdb/python/tdbdump.py
rename to tdb/python/tdbdump.py
diff --git a/source3/lib/tdb/python/tests/simple.py b/tdb/python/tests/simple.py
similarity index 100%
rename from source3/lib/tdb/python/tests/simple.py
rename to tdb/python/tests/simple.py
diff --git a/source3/lib/tdb/rules.mk b/tdb/rules.mk
similarity index 100%
rename from source3/lib/tdb/rules.mk
rename to tdb/rules.mk
diff --git a/source3/lib/tdb/tdb.i b/tdb/tdb.i
similarity index 100%
rename from source3/lib/tdb/tdb.i
rename to tdb/tdb.i
diff --git a/source3/lib/tdb/tdb.mk b/tdb/tdb.mk
similarity index 100%
rename from source3/lib/tdb/tdb.mk
rename to tdb/tdb.mk
diff --git a/source3/lib/tdb/tdb.pc.in b/tdb/tdb.pc.in
similarity index 100%
rename from source3/lib/tdb/tdb.pc.in
rename to tdb/tdb.pc.in
diff --git a/source3/lib/tdb/tdb.py b/tdb/tdb.py
similarity index 100%
rename from source3/lib/tdb/tdb.py
rename to tdb/tdb.py
diff --git a/source3/lib/tdb/tdb_wrap.c b/tdb/tdb_wrap.c
similarity index 100%
rename from source3/lib/tdb/tdb_wrap.c
rename to tdb/tdb_wrap.c
diff --git a/source3/lib/tdb/tools/tdbbackup.c b/tdb/tools/tdbbackup.c
similarity index 100%
rename from source3/lib/tdb/tools/tdbbackup.c
rename to tdb/tools/tdbbackup.c
diff --git a/source3/lib/tdb/tools/tdbdump.c b/tdb/tools/tdbdump.c
similarity index 100%
rename from source3/lib/tdb/tools/tdbdump.c
rename to tdb/tools/tdbdump.c
diff --git a/source3/lib/tdb/tools/tdbtest.c b/tdb/tools/tdbtest.c
similarity index 100%
rename from source3/lib/tdb/tools/tdbtest.c
rename to tdb/tools/tdbtest.c
diff --git a/source3/lib/tdb/tools/tdbtool.c b/tdb/tools/tdbtool.c
similarity index 100%
rename from source3/lib/tdb/tools/tdbtool.c
rename to tdb/tools/tdbtool.c
diff --git a/source3/lib/tdb/tools/tdbtorture.c b/tdb/tools/tdbtorture.c
similarity index 100%
rename from source3/lib/tdb/tools/tdbtorture.c
rename to tdb/tools/tdbtorture.c
diff --git a/source3/lib/tdb/web/index.html b/tdb/web/index.html
similarity index 100%
rename from source3/lib/tdb/web/index.html
rename to tdb/web/index.html