1TDBTOOL(8) TDBTOOL(8)
2
3
4
6 tdbtool - manipulate the contents TDB files
7
9 tdbtool
10
11 tdbtool TDBFILE [COMMANDS...]
12
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
21 create TDBFILE
22 Create a new database named TDBFILE.
23
24 open TDBFILE
25 Open an existing database named TDBFILE.
26
27 erase
28 Erase the current database.
29
30 dump
31 Dump the current database as strings.
32
33 cdump
34 Dump the current database as connection records.
35
36 keys
37 Dump the current database keys as strings.
38
39 hexkeys
40 Dump the current database keys as hex values.
41
42 info
43 Print summary information about the current database.
44
45 insert KEY DATA
46 Insert a record into the current database.
47
48 move KEY TDBFILE
49 Move a record from the current database into TDBFILE.
50
51 store KEY DATA
52 Store (replace) a record in the current database.
53
54 show KEY
55 Show a record by key.
56
57 delete KEY
58 Delete a record by key.
59
60 list
61 Print the current database hash table and free list.
62
63 free
64 Print the current database and free list.
65
66 ! COMMAND
67 Execute the given system command.
68
69 first
70 Print the first record in the current database.
71
72 next
73 Print the next record in the current database.
74
75 quit
76 Exit tdbtool.
77
79 The contents of the Samba TDB files are private to the implementation
80 and should not be altered with tdbtool.
81
83 This man page is correct for version 3.0.25 of the Samba suite.
84
86 The original Samba software and related utilities were created by
87 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
88 Source project similar to the way the Linux kernel is developed.
89
90
91
92
93 TDBTOOL(8)