source: trunk/samba-3.0.25pre1/docs/htmldocs/manpages/tdbtool.8.html @ 1

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

Initial code import

File size: 5.2 KB
Line 
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.68.1"></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="command">tdbtool</code> </p></div><div class="cmdsynopsis"><p><code class="command">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="id230794"></a><h2>DESCRIPTION</h2><p>This tool is part of the
6        <a href="samba.1.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(1)</span></a> suite.</p><p><span><strong class="command">tdbtool</strong></span> 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="id231148"></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">quit</code>
58                </span></dt><dd><p>Exit <span><strong class="command">tdbtool</strong></span>.
59                </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id230609"></a><h2>CAVEATS</h2><p>The contents of the Samba TDB files are private
60        to the implementation and should not be altered with
61        <span><strong class="command">tdbtool</strong></span>.
62        </p></div><div class="refsect1" lang="en"><a name="id230625"></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="id230635"></a><h2>AUTHOR</h2><p> The original Samba software and related utilities were
63        created by Andrew Tridgell.  Samba is now developed by the
64        Samba Team as an Open Source project similar to the way the
65        Linux kernel is developed.</p></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.