• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/docs/htmldocs/manpages/
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>tdbtool</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="tdbtool.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>tdbtool &#8212; manipulate the contents TDB files</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">tdbtool</code></p></div><div class="cmdsynopsis"><p><code class="literal">tdbtool</code>  
2		<em class="replaceable"><code>TDBFILE</code></em>
3		  [
4		<em class="replaceable"><code>COMMANDS</code></em>
5		...]</p></div></div><div class="refsect1" lang="en"><a name="id2522943"></a><h2>DESCRIPTION</h2><p>This tool is part of the
6	<a class="citerefentry" href="samba.1.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(1)</span></a> suite.</p><p><code class="literal">tdbtool</code> a tool for displaying and
7	altering the contents of Samba TDB (Trivial DataBase) files. Each
8	of the commands listed below can be entered interactively or
9	provided on the command line.</p></div><div class="refsect1" lang="en"><a name="id2483338"></a><h2>COMMANDS</h2><div class="variablelist"><dl><dt><span class="term"><code class="option">create</code>
10		<em class="replaceable"><code>TDBFILE</code></em></span></dt><dd><p>Create a new database named
11		<em class="replaceable"><code>TDBFILE</code></em>.
12		</p></dd><dt><span class="term"><code class="option">open</code>
13		<em class="replaceable"><code>TDBFILE</code></em></span></dt><dd><p>Open an existing database named
14		<em class="replaceable"><code>TDBFILE</code></em>.
15		</p></dd><dt><span class="term"><code class="option">erase</code></span></dt><dd><p>Erase the current database.
16		</p></dd><dt><span class="term"><code class="option">dump</code></span></dt><dd><p>Dump the current database as strings.
17		</p></dd><dt><span class="term"><code class="option">cdump</code></span></dt><dd><p>Dump the current database as connection records.
18		</p></dd><dt><span class="term"><code class="option">keys</code></span></dt><dd><p>Dump the current database keys as strings.
19		</p></dd><dt><span class="term"><code class="option">hexkeys</code></span></dt><dd><p>Dump the current database keys as hex values.
20		</p></dd><dt><span class="term"><code class="option">info</code></span></dt><dd><p>Print summary information about the
21		current database.
22		</p></dd><dt><span class="term"><code class="option">insert</code>
23		<em class="replaceable"><code>KEY</code></em>
24		<em class="replaceable"><code>DATA</code></em>
25		</span></dt><dd><p>Insert a record into the
26		current database.
27		</p></dd><dt><span class="term"><code class="option">move</code>
28		<em class="replaceable"><code>KEY</code></em>
29		<em class="replaceable"><code>TDBFILE</code></em>
30		</span></dt><dd><p>Move a record from the 
31		current database into <em class="replaceable"><code>TDBFILE</code></em>.
32		</p></dd><dt><span class="term"><code class="option">store</code>
33		<em class="replaceable"><code>KEY</code></em>
34		<em class="replaceable"><code>DATA</code></em>
35		</span></dt><dd><p>Store (replace) a record in the
36		current database.
37		</p></dd><dt><span class="term"><code class="option">show</code>
38		<em class="replaceable"><code>KEY</code></em>
39		</span></dt><dd><p>Show a record by key.
40		</p></dd><dt><span class="term"><code class="option">delete</code>
41		<em class="replaceable"><code>KEY</code></em>
42		</span></dt><dd><p>Delete a record by key.
43		</p></dd><dt><span class="term"><code class="option">list</code>
44		</span></dt><dd><p>Print the current database hash table and free list.
45		</p></dd><dt><span class="term"><code class="option">free</code>
46		</span></dt><dd><p>Print the current database and free list.
47		</p></dd><dt><span class="term"><code class="option">!</code>
48		<em class="replaceable"><code>COMMAND</code></em>
49		</span></dt><dd><p>Execute the given system command.
50		</p></dd><dt><span class="term">
51		<code class="option">first</code>
52		</span></dt><dd><p>Print the first record in the current database.
53		</p></dd><dt><span class="term">
54		<code class="option">next</code>
55		</span></dt><dd><p>Print the next record in the current database.
56		</p></dd><dt><span class="term">
57		<code class="option">check</code>
58		</span></dt><dd><p>Check the integrity of the current database.
59		</p></dd><dt><span class="term">
60		<code class="option">quit</code>
61		</span></dt><dd><p>Exit <code class="literal">tdbtool</code>.
62		</p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id2481464"></a><h2>CAVEATS</h2><p>The contents of the Samba TDB files are private
63	to the implementation and should not be altered with
64	<code class="literal">tdbtool</code>.
65	</p></div><div class="refsect1" lang="en"><a name="id2481482"></a><h2>VERSION</h2><p>This man page is correct for version 3.0.25 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id2481493"></a><h2>AUTHOR</h2><p> The original Samba software and related utilities were
66	created by Andrew Tridgell.  Samba is now developed by the
67	Samba Team as an Open Source project similar to the way the
68	Linux kernel is developed.</p></div></div></body></html>
69