[PATCH] ldbdump, and thanks for tdbdump -e!

Andrew Bartlett abartlet at samba.org
Mon Oct 29 23:25:54 MDT 2012


I figured you might be interested to see what I've done with the
tdb_rescue API you built a few weeks ago.  Still trying to sort out the
DB that we worked, I built ldbdump.  It uses the backend ldb_pack
functions from ldb_tdb as well as the Samba syntax functions to
determine if the potential DB record passed to the hook is a valid ldb

This eliminated around 12 more records - indeed all the 'duplicate'
records you found could be eliminated as actually not being valid
records at all.  

Thank you very much for the tdb_rescue API and tdbdump -e, it would not
be possible to recover so much of the data without it.

Naturally, it will need a manpage and popt conversion before it is
installed, but for now it may be the vital tool for some other
unfortunate site that forgets to enable barrier=1 on their ext3

Andrew Bartlett
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ldb-Add-ldbdump-based-on-tdbdump.patch
Type: text/x-patch
Size: 7291 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20121030/588745a3/attachment.bin>

More information about the samba-technical mailing list