Add more content to the description of "registry shares".
[Samba/bjacke.git] / docs / manpages-3 / tdbtool.8.xml
blobc3c454fe7089285f880472ff91890ddb3b018cad
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="tdbtool.8">
5 <refmeta>
6         <refentrytitle>tdbtool</refentrytitle>
7         <manvolnum>8</manvolnum>
8 </refmeta>
11 <refnamediv>
12         <refname>tdbtool</refname>
13         <refpurpose>manipulate the contents TDB files</refpurpose>
14 </refnamediv>
16 <refsynopsisdiv>
18         <cmdsynopsis>
19                 <command>tdbtool</command>
20         </cmdsynopsis>
22         <cmdsynopsis>
23                 <command>tdbtool</command>
24                 <arg choice="plain">
25                 <replaceable>TDBFILE</replaceable>
26                 </arg>
27                 <arg rep="repeat" choice="opt">
28                 <replaceable>COMMANDS</replaceable>
29                 </arg>
30         </cmdsynopsis>
32 </refsynopsisdiv>
34 <refsect1>
35         <title>DESCRIPTION</title>
37         <para>This tool is part of the
38         <citerefentry><refentrytitle>samba</refentrytitle>
39         <manvolnum>1</manvolnum></citerefentry> suite.</para>
41         <para><command>tdbtool</command> a tool for displaying and
42         altering the contents of Samba TDB (Trivial DataBase) files. Each
43         of the commands listed below can be entered interactively or
44         provided on the command line.</para>
46 </refsect1>
49 <refsect1>
50         <title>COMMANDS</title>
52         <variablelist>
54                 <varlistentry>
55                 <term><option>create</option>
56                 <replaceable>TDBFILE</replaceable></term>
57                 <listitem><para>Create a new database named
58                 <replaceable>TDBFILE</replaceable>.
59                 </para></listitem>
60                 </varlistentry>
62                 <varlistentry>
63                 <term><option>open</option>
64                 <replaceable>TDBFILE</replaceable></term>
65                 <listitem><para>Open an existing database named
66                 <replaceable>TDBFILE</replaceable>.
67                 </para></listitem>
68                 </varlistentry>
70                 <varlistentry>
71                 <term><option>erase</option></term>
72                 <listitem><para>Erase the current database.
73                 </para></listitem>
74                 </varlistentry>
76                 <varlistentry>
77                 <term><option>dump</option></term>
78                 <listitem><para>Dump the current database as strings.
79                 </para></listitem>
80                 </varlistentry>
82                 <varlistentry>
83                 <term><option>cdump</option></term>
84                 <listitem><para>Dump the current database as connection records.
85                 </para></listitem>
86                 </varlistentry>
88                 <varlistentry>
89                 <term><option>keys</option></term>
90                 <listitem><para>Dump the current database keys as strings.
91                 </para></listitem>
92                 </varlistentry>
94                 <varlistentry>
95                 <term><option>hexkeys</option></term>
96                 <listitem><para>Dump the current database keys as hex values.
97                 </para></listitem>
98                 </varlistentry>
100                 <varlistentry>
101                 <term><option>info</option></term>
102                 <listitem><para>Print summary information about the
103                 current database.
104                 </para></listitem>
105                 </varlistentry>
107                 <varlistentry>
108                 <term><option>insert</option>
109                 <replaceable>KEY</replaceable>
110                 <replaceable>DATA</replaceable>
111                 </term>
112                 <listitem><para>Insert a record into the
113                 current database.
114                 </para></listitem>
115                 </varlistentry>
117                 <varlistentry>
118                 <term><option>move</option>
119                 <replaceable>KEY</replaceable>
120                 <replaceable>TDBFILE</replaceable>
121                 </term>
122                 <listitem><para>Move a record from the 
123                 current database into <replaceable>TDBFILE</replaceable>.
124                 </para></listitem>
125                 </varlistentry>
127                 <varlistentry>
128                 <term><option>store</option>
129                 <replaceable>KEY</replaceable>
130                 <replaceable>DATA</replaceable>
131                 </term>
132                 <listitem><para>Store (replace) a record in the
133                 current database.
134                 </para></listitem>
135                 </varlistentry>
137                 <varlistentry>
138                 <term><option>show</option>
139                 <replaceable>KEY</replaceable>
140                 </term>
141                 <listitem><para>Show a record by key.
142                 </para></listitem>
143                 </varlistentry>
145                 <varlistentry>
146                 <term><option>delete</option>
147                 <replaceable>KEY</replaceable>
148                 </term>
149                 <listitem><para>Delete a record by key.
150                 </para></listitem>
151                 </varlistentry>
153                 <varlistentry>
154                 <term><option>list</option>
155                 </term>
156                 <listitem><para>Print the current database hash table and free list.
157                 </para></listitem>
158                 </varlistentry>
160                 <varlistentry>
161                 <term><option>free</option>
162                 </term>
163                 <listitem><para>Print the current database and free list.
164                 </para></listitem>
165                 </varlistentry>
167                 <varlistentry>
168                 <term><option>!</option>
169                 <replaceable>COMMAND</replaceable>
170                 </term>
171                 <listitem><para>Execute the given system command.
172                 </para></listitem>
173                 </varlistentry>
175                 <varlistentry>
176                 <term>
177                 <option>first</option>
178                 </term>
179                 <listitem><para>Print the first record in the current database.
180                 </para></listitem>
181                 </varlistentry>
183                 <varlistentry>
184                 <term>
185                 <option>next</option>
186                 </term>
187                 <listitem><para>Print the next record in the current database.
188                 </para></listitem>
189                 </varlistentry>
191                 <varlistentry>
192                 <term>
193                 <option>quit</option>
194                 </term>
195                 <listitem><para>Exit <command>tdbtool</command>.
196                 </para></listitem>
197                 </varlistentry>
199         </variablelist>
200 </refsect1>
202 <refsect1>
203         <title>CAVEATS</title>
204         <para>The contents of the Samba TDB files are private
205         to the implementation and should not be altered with
206         <command>tdbtool</command>.
207         </para>
208 </refsect1>
210 <refsect1>
211         <title>VERSION</title>
212         <para>This man page is correct for version 3.0.25 of the Samba suite.</para>
213 </refsect1>
215 <refsect1>
216         <title>AUTHOR</title>
218         <para> The original Samba software and related utilities were
219         created by Andrew Tridgell.  Samba is now developed by the
220         Samba Team as an Open Source project similar to the way the
221         Linux kernel is developed.</para>
222 </refsect1>
224 </refentry>