Added a simple tdb integrity check to tdbtool. The command "check" runs traverse...
commita1dcf735da8128ca28ec325bb7a0596b61d213e9
authorHolger Hetterich <hhetter@novell.com>
Sat, 1 Nov 2008 23:12:32 +0000 (2 00:12 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 2 Jan 2009 11:44:18 +0000 (2 12:44 +0100)
tree07ecad3aca337339b7f2c50c3e8285fd7aab3485
parent4bf2adeb5e8769141ad74d445bead5cb8e59706c
Added a simple tdb integrity check to tdbtool. The command "check" runs traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.
(cherry picked from commit 12629532985ac9fdc900d8811c33651587d0796d)
source/lib/tdb/tools/tdbtool.c