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       storehex KEY DATA
63           Store (replace) a record in the current database where key and data
64           are in hex format.
65
66       show KEY
67           Show a record by key.
68
69       delete KEY
70           Delete a record by key.
71
72       list
73           Print the current database hash table and free list.
74
75       free
76           Print the current database and free list.
77
78       ! COMMAND
79           Execute the given system command.
80
81       first
82           Print the first record in the current database.
83
84       next
85           Print the next record in the current database.
86
87       check
88           Check the integrity of the current database.
89
90       repack
91           Repack a database using a temporary file to remove fragmentation.
92
93       quit
94           Exit tdbtool.
95

CAVEATS

97       The contents of the Samba TDB files are private to the implementation
98       and should not be altered with tdbtool.
99

VERSION

101       This man page is correct for version 3.6 of the Samba suite.
102

AUTHOR

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