source: trunk/samba-3.0.25pre1/docs/manpages/tdbtool.8@ 6

Last change on this file since 6 was 1, checked in by Paul Smedley, 18 years ago

Initial code import

File size: 2.4 KB
Line 
1.\"Generated by db2man.xsl. Don't modify this, modify the source.
2.de Sh \" Subsection
3.br
4.if t .Sp
5.ne 5
6.PP
7\fB\\$1\fR
8.PP
9..
10.de Sp \" Vertical space (when we can't use .PP)
11.if t .sp .5v
12.if n .sp
13..
14.de Ip \" List item
15.br
16.ie \\n(.$>=3 .ne \\$3
17.el .ne 3
18.IP "\\$1" \\$2
19..
20.TH "TDBTOOL" 8 "" "" ""
21.SH NAME
22tdbtool \- manipulate the contents TDB files
23.SH "SYNOPSIS"
24.ad l
25.hy 0
26.HP 8
27\fBtdbtool\fR
28.ad
29.hy
30.ad l
31.hy 0
32.HP 8
33\fBtdbtool\fR \fITDBFILE\fR [\fICOMMANDS\fR...]
34.ad
35.hy
36
37.SH "DESCRIPTION"
38
39.PP
40This tool is part of the\fBsamba\fR(1) suite\&.
41
42.PP
43\fBtdbtool\fR 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\&.
44
45.SH "COMMANDS"
46
47.TP
48\fBcreate\fR \fITDBFILE\fR
49Create a new database named\fITDBFILE\fR\&.
50
51.TP
52\fBopen\fR \fITDBFILE\fR
53Open an existing database named\fITDBFILE\fR\&.
54
55.TP
56\fBerase\fR
57Erase the current database\&.
58
59.TP
60\fBdump\fR
61Dump the current database as strings\&.
62
63.TP
64\fBcdump\fR
65Dump the current database as connection records\&.
66
67.TP
68\fBkeys\fR
69Dump the current database keys as strings\&.
70
71.TP
72\fBhexkeys\fR
73Dump the current database keys as hex values\&.
74
75.TP
76\fBinfo\fR
77Print summary information about the current database\&.
78
79.TP
80\fBinsert\fR \fIKEY\fR \fIDATA\fR
81Insert a record into the current database\&.
82
83.TP
84\fBmove\fR \fIKEY\fR \fITDBFILE\fR
85Move a record from the current database into \fITDBFILE\fR\&.
86
87.TP
88\fBstore\fR \fIKEY\fR \fIDATA\fR
89Store (replace) a record in the current database\&.
90
91.TP
92\fBshow\fR \fIKEY\fR
93Show a record by key\&.
94
95.TP
96\fBdelete\fR \fIKEY\fR
97Delete a record by key\&.
98
99.TP
100\fBlist\fR
101Print the current database hash table and free list\&.
102
103.TP
104\fBfree\fR
105Print the current database and free list\&.
106
107.TP
108\fB!\fR \fICOMMAND\fR
109Execute the given system command\&.
110
111.TP
112\fBfirst\fR
113Print the first record in the current database\&.
114
115.TP
116\fBnext\fR
117Print the next record in the current database\&.
118
119.TP
120\fBquit\fR
121Exit \fBtdbtool\fR\&.
122
123.SH "CAVEATS"
124
125.PP
126The contents of the Samba TDB files are private to the implementation and should not be altered with\fBtdbtool\fR\&.
127
128.SH "VERSION"
129
130.PP
131This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
132
133.SH "AUTHOR"
134
135.PP
136The 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\&.
137
Note: See TracBrowser for help on using the repository browser.