ldb: Add ldbdump, based on tdbdump
authorAndrew Bartlett <abartlet@samba.org>
Tue, 30 Oct 2012 04:41:27 +0000 (15:41 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 28 Jan 2013 10:07:44 +0000 (11:07 +0100)
commit65629e824f51b8dea76604052310733d109652c3
tree8e88af51023fbd6adf8631c6a431f44e3f7051f7
parent4b0ec2bd34621dfe13d336b0dd301a68503e4737
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
(cherry picked from commit a71ad96bd046f1199e67b4fe8fc7783cbd8dd771)
lib/ldb/tools/ldbdump.c [new file with mode: 0644]
lib/ldb/wscript