1TDBTOOL(8)                System Administration tools               TDBTOOL(8)
2
3
4

NAME

6       tdbtool - manipulate the contents TDB files
7

SYNOPSIS

9       tdbtool
10
11       tdbtool [-l] TDBFILE [COMMANDS...]
12

DESCRIPTION

14       This tool is part of the samba(1) suite.
15
16       tdbtool a tool for displaying and altering the contents of Samba TDB
17       (Trivial DataBase) files. Each of the commands listed below can be
18       entered interactively or provided on the command line.
19

OPTIONS

21       -l
22           This options disables any locking, by passing TDB_NOLOCK to
23           tdb_open_ex(). Only use this for database files which are not used
24           by any other process! And also only if it is otherwise not possible
25           to open the database, e.g. databases which were created with mutex
26           locking.
27

COMMANDS

29       create TDBFILE
30           Create a new database named TDBFILE.
31
32       open TDBFILE
33           Open an existing database named TDBFILE.
34
35       erase
36           Erase the current database.
37
38       dump
39           Dump the current database as strings.
40
41       cdump
42           Dump the current database as connection records.
43
44       keys
45           Dump the current database keys as strings.
46
47       hexkeys
48           Dump the current database keys as hex values.
49
50       info
51           Print summary information about the current database.
52
53       insert KEY DATA
54           Insert a record into the current database.
55
56       move KEY TDBFILE
57           Move a record from the current database into TDBFILE.
58
59       store KEY DATA
60           Store (replace) a record in the current database.
61
62       show KEY
63           Show a record by key.
64
65       delete KEY
66           Delete a record by key.
67
68       list
69           Print the current database hash table and free list.
70
71       free
72           Print the current database and free list.
73
74       ! COMMAND
75           Execute the given system command.
76
77       first
78           Print the first record in the current database.
79
80       next
81           Print the next record in the current database.
82
83       check
84           Check the integrity of the current database.
85
86       repack
87           Repack a database using a temporary file to remove fragmentation.
88
89       quit
90           Exit tdbtool.
91

CAVEATS

93       The contents of the Samba TDB files are private to the implementation
94       and should not be altered with tdbtool.
95

VERSION

97       This man page is correct for version 3.6 of the Samba suite.
98

AUTHOR

100       The original Samba software and related utilities were created by
101       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
102       Source project similar to the way the Linux kernel is developed.
103
104
105
106Samba 4.0                         2015-04-25                        TDBTOOL(8)
Impressum