[862] | 1 | '\" t
|
---|
| 2 | .\" Title: tdbtool
|
---|
| 3 | .\" Author: [see the "AUTHOR" section]
|
---|
| 4 | .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
|
---|
| 5 | .\" Date: 09/18/2013
|
---|
| 6 | .\" Manual: System Administration tools
|
---|
| 7 | .\" Source: Samba 3.6
|
---|
| 8 | .\" Language: English
|
---|
| 9 | .\"
|
---|
| 10 | .TH "TDBTOOL" "8" "09/18/2013" "Samba 3\&.6" "System Administration tools"
|
---|
| 11 | .\" -----------------------------------------------------------------
|
---|
| 12 | .\" * Define some portability stuff
|
---|
| 13 | .\" -----------------------------------------------------------------
|
---|
| 14 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
| 15 | .\" http://bugs.debian.org/507673
|
---|
| 16 | .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
---|
| 17 | .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
| 18 | .ie \n(.g .ds Aq \(aq
|
---|
| 19 | .el .ds Aq '
|
---|
| 20 | .\" -----------------------------------------------------------------
|
---|
| 21 | .\" * set default formatting
|
---|
| 22 | .\" -----------------------------------------------------------------
|
---|
| 23 | .\" disable hyphenation
|
---|
| 24 | .nh
|
---|
| 25 | .\" disable justification (adjust text to left margin only)
|
---|
| 26 | .ad l
|
---|
| 27 | .\" -----------------------------------------------------------------
|
---|
| 28 | .\" * MAIN CONTENT STARTS HERE *
|
---|
| 29 | .\" -----------------------------------------------------------------
|
---|
| 30 | .SH "NAME"
|
---|
| 31 | tdbtool \- manipulate the contents TDB files
|
---|
| 32 | .SH "SYNOPSIS"
|
---|
| 33 | .HP \w'\ 'u
|
---|
| 34 | tdbtool
|
---|
| 35 | .HP \w'\ 'u
|
---|
| 36 | tdbtool \fITDBFILE\fR [\fICOMMANDS\fR...]
|
---|
| 37 | .SH "DESCRIPTION"
|
---|
| 38 | .PP
|
---|
| 39 | This tool is part of the
|
---|
| 40 | \fBsamba\fR(1)
|
---|
| 41 | suite\&.
|
---|
| 42 | .PP
|
---|
| 43 | tdbtool
|
---|
| 44 | 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\&.
|
---|
| 45 | .SH "COMMANDS"
|
---|
| 46 | .PP
|
---|
| 47 | \fBcreate\fR \fITDBFILE\fR
|
---|
| 48 | .RS 4
|
---|
| 49 | Create a new database named
|
---|
| 50 | \fITDBFILE\fR\&.
|
---|
| 51 | .RE
|
---|
| 52 | .PP
|
---|
| 53 | \fBopen\fR \fITDBFILE\fR
|
---|
| 54 | .RS 4
|
---|
| 55 | Open an existing database named
|
---|
| 56 | \fITDBFILE\fR\&.
|
---|
| 57 | .RE
|
---|
| 58 | .PP
|
---|
| 59 | \fBerase\fR
|
---|
| 60 | .RS 4
|
---|
| 61 | Erase the current database\&.
|
---|
| 62 | .RE
|
---|
| 63 | .PP
|
---|
| 64 | \fBdump\fR
|
---|
| 65 | .RS 4
|
---|
| 66 | Dump the current database as strings\&.
|
---|
| 67 | .RE
|
---|
| 68 | .PP
|
---|
| 69 | \fBcdump\fR
|
---|
| 70 | .RS 4
|
---|
| 71 | Dump the current database as connection records\&.
|
---|
| 72 | .RE
|
---|
| 73 | .PP
|
---|
| 74 | \fBkeys\fR
|
---|
| 75 | .RS 4
|
---|
| 76 | Dump the current database keys as strings\&.
|
---|
| 77 | .RE
|
---|
| 78 | .PP
|
---|
| 79 | \fBhexkeys\fR
|
---|
| 80 | .RS 4
|
---|
| 81 | Dump the current database keys as hex values\&.
|
---|
| 82 | .RE
|
---|
| 83 | .PP
|
---|
| 84 | \fBinfo\fR
|
---|
| 85 | .RS 4
|
---|
| 86 | Print summary information about the current database\&.
|
---|
| 87 | .RE
|
---|
| 88 | .PP
|
---|
| 89 | \fBinsert\fR \fIKEY\fR \fIDATA\fR
|
---|
| 90 | .RS 4
|
---|
| 91 | Insert a record into the current database\&.
|
---|
| 92 | .RE
|
---|
| 93 | .PP
|
---|
| 94 | \fBmove\fR \fIKEY\fR \fITDBFILE\fR
|
---|
| 95 | .RS 4
|
---|
| 96 | Move a record from the current database into
|
---|
| 97 | \fITDBFILE\fR\&.
|
---|
| 98 | .RE
|
---|
| 99 | .PP
|
---|
| 100 | \fBstore\fR \fIKEY\fR \fIDATA\fR
|
---|
| 101 | .RS 4
|
---|
| 102 | Store (replace) a record in the current database\&.
|
---|
| 103 | .RE
|
---|
| 104 | .PP
|
---|
| 105 | \fBshow\fR \fIKEY\fR
|
---|
| 106 | .RS 4
|
---|
| 107 | Show a record by key\&.
|
---|
| 108 | .RE
|
---|
| 109 | .PP
|
---|
| 110 | \fBdelete\fR \fIKEY\fR
|
---|
| 111 | .RS 4
|
---|
| 112 | Delete a record by key\&.
|
---|
| 113 | .RE
|
---|
| 114 | .PP
|
---|
| 115 | \fBlist\fR
|
---|
| 116 | .RS 4
|
---|
| 117 | Print the current database hash table and free list\&.
|
---|
| 118 | .RE
|
---|
| 119 | .PP
|
---|
| 120 | \fBfree\fR
|
---|
| 121 | .RS 4
|
---|
| 122 | Print the current database and free list\&.
|
---|
| 123 | .RE
|
---|
| 124 | .PP
|
---|
| 125 | \fB!\fR \fICOMMAND\fR
|
---|
| 126 | .RS 4
|
---|
| 127 | Execute the given system command\&.
|
---|
| 128 | .RE
|
---|
| 129 | .PP
|
---|
| 130 | \fBfirst\fR
|
---|
| 131 | .RS 4
|
---|
| 132 | Print the first record in the current database\&.
|
---|
| 133 | .RE
|
---|
| 134 | .PP
|
---|
| 135 | \fBnext\fR
|
---|
| 136 | .RS 4
|
---|
| 137 | Print the next record in the current database\&.
|
---|
| 138 | .RE
|
---|
| 139 | .PP
|
---|
| 140 | \fBcheck\fR
|
---|
| 141 | .RS 4
|
---|
| 142 | Check the integrity of the current database\&.
|
---|
| 143 | .RE
|
---|
| 144 | .PP
|
---|
| 145 | \fBquit\fR
|
---|
| 146 | .RS 4
|
---|
| 147 | Exit
|
---|
| 148 | tdbtool\&.
|
---|
| 149 | .RE
|
---|
| 150 | .SH "CAVEATS"
|
---|
| 151 | .PP
|
---|
| 152 | The contents of the Samba TDB files are private to the implementation and should not be altered with
|
---|
| 153 | tdbtool\&.
|
---|
| 154 | .SH "VERSION"
|
---|
| 155 | .PP
|
---|
| 156 | This man page is correct for version 3\&.0\&.25 of the Samba suite\&.
|
---|
| 157 | .SH "AUTHOR"
|
---|
| 158 | .PP
|
---|
| 159 | The 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\&.
|
---|