diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-05-30 06:22:10 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-05-30 06:22:10 +0000 |
commit | 6315ea80fc65725e21f59b3c956e0f61de7139b5 (patch) | |
tree | 110cc487647039b919dd9f8a3b6e159bc9d2d0af /source3/tdb | |
parent | ff1dd1721d5edbc29e2d6c2c3b5d52f1612b7d79 (diff) | |
download | samba-6315ea80fc65725e21f59b3c956e0f61de7139b5.tar.gz samba-6315ea80fc65725e21f59b3c956e0f61de7139b5.tar.bz2 samba-6315ea80fc65725e21f59b3c956e0f61de7139b5.zip |
added list function to tdbtool
(This used to be commit c20838c6358f02dea7967e28a5f23db70ff464f9)
Diffstat (limited to 'source3/tdb')
-rw-r--r-- | source3/tdb/tdbtool.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/tdb/tdbtool.c b/source3/tdb/tdbtool.c index 27454f73de..8c09c76df5 100644 --- a/source3/tdb/tdbtool.c +++ b/source3/tdb/tdbtool.c @@ -363,6 +363,8 @@ int main(int argc, char *argv[]) } else if (strcmp(tok,"dump") == 0) { bIterate = 0; tdb_traverse(tdb, print_rec, NULL); + } else if (strcmp(tok,"list") == 0) { + tdb_dump_all(tdb); } else if (strcmp(tok,"info") == 0) { info_tdb(); } else if (strcmp(tok, "free") == 0) { |