source: branches/samba-3.5.x/docs/manpages/tdbtool.8@ 734

Last change on this file since 734 was 734, checked in by Silvan Scherrer, 13 years ago

Samba Server 3.5: update branche to 3.5.14

File size: 3.2 KB
Line 
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: 03/09/2012
6.\" Manual: System Administration tools
7.\" Source: Samba 3.5
8.\" Language: English
9.\"
10.TH "TDBTOOL" "8" "03/09/2012" "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"
22tdbtool \- manipulate the contents TDB files
23.SH "SYNOPSIS"
24.HP \w'\ 'u
25tdbtool
26.HP \w'\ 'u
27tdbtool \fITDBFILE\fR [\fICOMMANDS\fR...]
28.SH "DESCRIPTION"
29.PP
30This tool is part of the
31\fBsamba\fR(1)
32suite\&.
33.PP
34tdbtool
35a 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
40Create a new database named
41\fITDBFILE\fR\&.
42.RE
43.PP
44\fBopen\fR \fITDBFILE\fR
45.RS 4
46Open an existing database named
47\fITDBFILE\fR\&.
48.RE
49.PP
50\fBerase\fR
51.RS 4
52Erase the current database\&.
53.RE
54.PP
55\fBdump\fR
56.RS 4
57Dump the current database as strings\&.
58.RE
59.PP
60\fBcdump\fR
61.RS 4
62Dump the current database as connection records\&.
63.RE
64.PP
65\fBkeys\fR
66.RS 4
67Dump the current database keys as strings\&.
68.RE
69.PP
70\fBhexkeys\fR
71.RS 4
72Dump the current database keys as hex values\&.
73.RE
74.PP
75\fBinfo\fR
76.RS 4
77Print summary information about the current database\&.
78.RE
79.PP
80\fBinsert\fR \fIKEY\fR \fIDATA\fR
81.RS 4
82Insert a record into the current database\&.
83.RE
84.PP
85\fBmove\fR \fIKEY\fR \fITDBFILE\fR
86.RS 4
87Move a record from the current database into
88\fITDBFILE\fR\&.
89.RE
90.PP
91\fBstore\fR \fIKEY\fR \fIDATA\fR
92.RS 4
93Store (replace) a record in the current database\&.
94.RE
95.PP
96\fBshow\fR \fIKEY\fR
97.RS 4
98Show a record by key\&.
99.RE
100.PP
101\fBdelete\fR \fIKEY\fR
102.RS 4
103Delete a record by key\&.
104.RE
105.PP
106\fBlist\fR
107.RS 4
108Print the current database hash table and free list\&.
109.RE
110.PP
111\fBfree\fR
112.RS 4
113Print the current database and free list\&.
114.RE
115.PP
116\fB!\fR \fICOMMAND\fR
117.RS 4
118Execute the given system command\&.
119.RE
120.PP
121\fBfirst\fR
122.RS 4
123Print the first record in the current database\&.
124.RE
125.PP
126\fBnext\fR
127.RS 4
128Print the next record in the current database\&.
129.RE
130.PP
131\fBcheck\fR
132.RS 4
133Check the integrity of the current database\&.
134.RE
135.PP
136\fBquit\fR
137.RS 4
138Exit
139tdbtool\&.
140.RE
141.SH "CAVEATS"
142.PP
143The contents of the Samba TDB files are private to the implementation and should not be altered with
144tdbtool\&.
145.SH "VERSION"
146.PP
147This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
148.SH "AUTHOR"
149.PP
150The 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\&.
Note: See TracBrowser for help on using the repository browser.