diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-10-30 15:41:27 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-10-30 23:56:11 +0100 |
commit | a71ad96bd046f1199e67b4fe8fc7783cbd8dd771 (patch) | |
tree | 566b6530d3c98b32486c8a874929c002ea857796 /lib/ldb/wscript | |
parent | 4b2f3c6dec997b0dd4bcafeae662a71ebd34e12b (diff) | |
download | samba-a71ad96bd046f1199e67b4fe8fc7783cbd8dd771.tar.gz samba-a71ad96bd046f1199e67b4fe8fc7783cbd8dd771.tar.bz2 samba-a71ad96bd046f1199e67b4fe8fc7783cbd8dd771.zip |
ldb: Add ldbdump, based on tdbdump
This uses a tdb_traverse or (more usefully) the tdb_rescue API, like tdbdump.
The difference here is that it uses ldb helper functions to further
eliminate faulty records, which avoids creating duplicates in the output.
(The duplicates come from parts of records that are left in blank space
in the db, which tdb_rescue finds, but which are not actually a full
record).
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Oct 30 23:56:11 CET 2012 on sn-devel-104
Diffstat (limited to 'lib/ldb/wscript')
-rwxr-xr-x | lib/ldb/wscript | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript index 566c05eac6..66fa24ba58 100755 --- a/lib/ldb/wscript +++ b/lib/ldb/wscript @@ -253,6 +253,10 @@ def build(bld): bld.SAMBA_BINARY('ldbtest', 'tools/ldbtest.c', deps='ldb-cmdline ldb', install=False) + # ldbdump doesn't get installed + bld.SAMBA_BINARY('ldbdump', 'tools/ldbdump.c ldb_tdb/ldb_pack.c', deps='ldb-cmdline ldb', + install=False) + bld.SAMBA_LIBRARY('ldb-cmdline', source='tools/ldbutil.c tools/cmdline.c', deps='ldb dl popt', |