.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "TDBTOOL" 8 "" "" "" .SH NAME tdbtool \- manipulate the contents TDB files .SH "SYNOPSIS" .ad l .hy 0 .HP 8 \fBtdbtool\fR .ad .hy .ad l .hy 0 .HP 8 \fBtdbtool\fR \fITDBFILE\fR [\fICOMMANDS\fR...] .ad .hy .SH "DESCRIPTION" .PP This tool is part of the\fBsamba\fR(1) suite\&. .PP \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\&. .SH "COMMANDS" .TP \fBcreate\fR \fITDBFILE\fR Create a new database named\fITDBFILE\fR\&. .TP \fBopen\fR \fITDBFILE\fR Open an existing database named\fITDBFILE\fR\&. .TP \fBerase\fR Erase the current database\&. .TP \fBdump\fR Dump the current database as strings\&. .TP \fBcdump\fR Dump the current database as connection records\&. .TP \fBkeys\fR Dump the current database keys as strings\&. .TP \fBhexkeys\fR Dump the current database keys as hex values\&. .TP \fBinfo\fR Print summary information about the current database\&. .TP \fBinsert\fR \fIKEY\fR \fIDATA\fR Insert a record into the current database\&. .TP \fBmove\fR \fIKEY\fR \fITDBFILE\fR Move a record from the current database into \fITDBFILE\fR\&. .TP \fBstore\fR \fIKEY\fR \fIDATA\fR Store (replace) a record in the current database\&. .TP \fBshow\fR \fIKEY\fR Show a record by key\&. .TP \fBdelete\fR \fIKEY\fR Delete a record by key\&. .TP \fBlist\fR Print the current database hash table and free list\&. .TP \fBfree\fR Print the current database and free list\&. .TP \fB!\fR \fICOMMAND\fR Execute the given system command\&. .TP \fBfirst\fR Print the first record in the current database\&. .TP \fBnext\fR Print the next record in the current database\&. .TP \fBquit\fR Exit \fBtdbtool\fR\&. .SH "CAVEATS" .PP The contents of the Samba TDB files are private to the implementation and should not be altered with\fBtdbtool\fR\&. .SH "VERSION" .PP This man page is correct for version 3\&.0\&.25 of the Samba suite\&. .SH "AUTHOR" .PP 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\&.