1 | '\" t
|
---|
2 | .\" Title: tdbtool
|
---|
3 | .\" Author: [see the "AUTHOR" section]
|
---|
4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
---|
5 | .\" Date: 08/02/2011
|
---|
6 | .\" Manual: System Administration tools
|
---|
7 | .\" Source: Samba 3.5
|
---|
8 | .\" Language: English
|
---|
9 | .\"
|
---|
10 | .TH "TDBTOOL" "8" "08/02/2011" "Samba 3\&.5" "System Administration tools"
|
---|
11 | .\" -----------------------------------------------------------------
|
---|
12 | .\" * set default formatting
|
---|
13 | .\" -----------------------------------------------------------------
|
---|
14 | .\" disable hyphenation
|
---|
15 | .nh
|
---|
16 | .\" disable justification (adjust text to left margin only)
|
---|
17 | .ad l
|
---|
18 | .\" -----------------------------------------------------------------
|
---|
19 | .\" * MAIN CONTENT STARTS HERE *
|
---|
20 | .\" -----------------------------------------------------------------
|
---|
21 | .SH "NAME"
|
---|
22 | tdbtool \- manipulate the contents TDB files
|
---|
23 | .SH "SYNOPSIS"
|
---|
24 | .HP \w'\ 'u
|
---|
25 | tdbtool
|
---|
26 | .HP \w'\ 'u
|
---|
27 | tdbtool \fITDBFILE\fR [\fICOMMANDS\fR...]
|
---|
28 | .SH "DESCRIPTION"
|
---|
29 | .PP
|
---|
30 | This tool is part of the
|
---|
31 | \fBsamba\fR(1)
|
---|
32 | suite\&.
|
---|
33 | .PP
|
---|
34 | tdbtool
|
---|
35 | a tool for displaying and altering the contents of Samba TDB (Trivial DataBase) files\&. Each of the commands listed below can be entered interactively or provided on the command line\&.
|
---|
36 | .SH "COMMANDS"
|
---|
37 | .PP
|
---|
38 | \fBcreate\fR \fITDBFILE\fR
|
---|
39 | .RS 4
|
---|
40 | Create a new database named
|
---|
41 | \fITDBFILE\fR\&.
|
---|
42 | .RE
|
---|
43 | .PP
|
---|
44 | \fBopen\fR \fITDBFILE\fR
|
---|
45 | .RS 4
|
---|
46 | Open an existing database named
|
---|
47 | \fITDBFILE\fR\&.
|
---|
48 | .RE
|
---|
49 | .PP
|
---|
50 | \fBerase\fR
|
---|
51 | .RS 4
|
---|
52 | Erase the current database\&.
|
---|
53 | .RE
|
---|
54 | .PP
|
---|
55 | \fBdump\fR
|
---|
56 | .RS 4
|
---|
57 | Dump the current database as strings\&.
|
---|
58 | .RE
|
---|
59 | .PP
|
---|
60 | \fBcdump\fR
|
---|
61 | .RS 4
|
---|
62 | Dump the current database as connection records\&.
|
---|
63 | .RE
|
---|
64 | .PP
|
---|
65 | \fBkeys\fR
|
---|
66 | .RS 4
|
---|
67 | Dump the current database keys as strings\&.
|
---|
68 | .RE
|
---|
69 | .PP
|
---|
70 | \fBhexkeys\fR
|
---|
71 | .RS 4
|
---|
72 | Dump the current database keys as hex values\&.
|
---|
73 | .RE
|
---|
74 | .PP
|
---|
75 | \fBinfo\fR
|
---|
76 | .RS 4
|
---|
77 | Print summary information about the current database\&.
|
---|
78 | .RE
|
---|
79 | .PP
|
---|
80 | \fBinsert\fR \fIKEY\fR \fIDATA\fR
|
---|
81 | .RS 4
|
---|
82 | Insert a record into the current database\&.
|
---|
83 | .RE
|
---|
84 | .PP
|
---|
85 | \fBmove\fR \fIKEY\fR \fITDBFILE\fR
|
---|
86 | .RS 4
|
---|
87 | Move a record from the current database into
|
---|
88 | \fITDBFILE\fR\&.
|
---|
89 | .RE
|
---|
90 | .PP
|
---|
91 | \fBstore\fR \fIKEY\fR \fIDATA\fR
|
---|
92 | .RS 4
|
---|
93 | Store (replace) a record in the current database\&.
|
---|
94 | .RE
|
---|
95 | .PP
|
---|
96 | \fBshow\fR \fIKEY\fR
|
---|
97 | .RS 4
|
---|
98 | Show a record by key\&.
|
---|
99 | .RE
|
---|
100 | .PP
|
---|
101 | \fBdelete\fR \fIKEY\fR
|
---|
102 | .RS 4
|
---|
103 | Delete a record by key\&.
|
---|
104 | .RE
|
---|
105 | .PP
|
---|
106 | \fBlist\fR
|
---|
107 | .RS 4
|
---|
108 | Print the current database hash table and free list\&.
|
---|
109 | .RE
|
---|
110 | .PP
|
---|
111 | \fBfree\fR
|
---|
112 | .RS 4
|
---|
113 | Print the current database and free list\&.
|
---|
114 | .RE
|
---|
115 | .PP
|
---|
116 | \fB!\fR \fICOMMAND\fR
|
---|
117 | .RS 4
|
---|
118 | Execute the given system command\&.
|
---|
119 | .RE
|
---|
120 | .PP
|
---|
121 | \fBfirst\fR
|
---|
122 | .RS 4
|
---|
123 | Print the first record in the current database\&.
|
---|
124 | .RE
|
---|
125 | .PP
|
---|
126 | \fBnext\fR
|
---|
127 | .RS 4
|
---|
128 | Print the next record in the current database\&.
|
---|
129 | .RE
|
---|
130 | .PP
|
---|
131 | \fBcheck\fR
|
---|
132 | .RS 4
|
---|
133 | Check the integrity of the current database\&.
|
---|
134 | .RE
|
---|
135 | .PP
|
---|
136 | \fBquit\fR
|
---|
137 | .RS 4
|
---|
138 | Exit
|
---|
139 | tdbtool\&.
|
---|
140 | .RE
|
---|
141 | .SH "CAVEATS"
|
---|
142 | .PP
|
---|
143 | The contents of the Samba TDB files are private to the implementation and should not be altered with
|
---|
144 | tdbtool\&.
|
---|
145 | .SH "VERSION"
|
---|
146 | .PP
|
---|
147 | This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
|
---|
148 | .SH "AUTHOR"
|
---|
149 | .PP
|
---|
150 | The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&.
|
---|