Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tdbtool(8) [suse man page]

TDBTOOL(8)						    System Administration tools 						TDBTOOL(8)

NAME
tdbtool - manipulate the contents TDB files SYNOPSIS
tdbtool tdbtool TDBFILE [COMMANDS...] DESCRIPTION
This tool is part of the samba(1) suite. tdbtool 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. COMMANDS
create TDBFILE Create a new database named TDBFILE. open TDBFILE Open an existing database named TDBFILE. erase Erase the current database. dump Dump the current database as strings. cdump Dump the current database as connection records. keys Dump the current database keys as strings. hexkeys Dump the current database keys as hex values. info Print summary information about the current database. insert KEY DATA Insert a record into the current database. move KEY TDBFILE Move a record from the current database into TDBFILE. store KEY DATA Store (replace) a record in the current database. show KEY Show a record by key. delete KEY Delete a record by key. list Print the current database hash table and free list. free Print the current database and free list. ! COMMAND Execute the given system command. first Print the first record in the current database. next Print the next record in the current database. check Check the integrity of the current database. quit Exit tdbtool. CAVEATS
The contents of the Samba TDB files are private to the implementation and should not be altered with tdbtool. VERSION
This man page is correct for version 3.0.25 of the Samba suite. AUTHOR
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. Samba 3.5 06/18/2010 TDBTOOL(8)

Check Out this Related Man Page

NTDBDUMP(8)						    System Administration tools 					       NTDBDUMP(8)

NAME
ntdbdump - tool for printing the contents of an NTDB file SYNOPSIS
ntdbdump [-k keyname] [-e] [-h] {filename} DESCRIPTION
This tool is part of the samba(1) suite. ntdbdump is a very simple utility that 'dumps' the contents of a NTDB (New Trivial DataBase) file to standard output in a human-readable format. This tool can be used when debugging problems with NTDB files. It is intended for those who are somewhat familiar with Samba internals. OPTIONS
-h Get help information. -k keyname The -k option restricts dumping to a single key, if found. SEE ALSO
tdbdump(8), ntdbtool(8) VERSION
This man page is correct for version 4 of the Samba suite. AUTHOR
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. The ntdbdump man page was written by Rusty Russell, base on the tdbdump man page by Jelmer Vernooij. Samba 4.1 06/17/2014 NTDBDUMP(8)
Man Page

15 More Discussions You Might Find Interesting

1. Solaris

Handling Special Charcters

Dear All, I have created a UTF-8 database to store multi-lingual charcters. Below is the query from which i insert from Winsql (front-end third party database browser tool), the data gets inserted properly. insert into a (no, lbl) values (1, "Cliquez ici pour revenir Ã_ la recherche de... (2 Replies)
Discussion started by: lloydnwo
2 Replies

2. Filesystems, Disks and Memory

Switching SAN storage

Hi, I have an existing SUN server that has a SAN storage installed on it. It also has softwares like Appwrox(scheduler), Taradata (database client), Samba Share and a few more installed on it. Now suppose that I have a new unix server server and i switch the same SAN store from the old unix... (1 Reply)
Discussion started by: myloginid
1 Replies

3. UNIX and Linux Applications

DataBase Online Or Not

Hey every one, I am new here, and work as DBA ,can I ask if there any tools can installed or command help me to know if the current DB still connected or not ? The DB that work on is so disturbing, your response are highly appreciated, Note : DB is Oracle and the OS is certain Unix. Best... (4 Replies)
Discussion started by: molanfx
4 Replies

4. UNIX for Advanced & Expert Users

what are free files?

Can someone tell me what "free files" are? df -e . -e Print only the number of free files. thanks, aha (1 Reply)
Discussion started by: nullwhat
1 Replies

5. UNIX for Dummies Questions & Answers

Delete a single record from a file

Hello all, Is there a function for deleting a single record from a file? Thanks in advance... (4 Replies)
Discussion started by: klafte
4 Replies

6. UNIX for Advanced & Expert Users

command to insert a record at a particular loaction

Hi, Is there any command to insert a line in between two lines? My input data is as below: 1|ETG|63121387883|Alternate|Y 3|79.58|||GBP|| 4|001137001 4|0011372 5|1021701 5|1021901 1|ETG|63121387884|Alternate|Y 3|79.58|||GBP|| 4|001137001 5|1021702 5|1021802... (1 Reply)
Discussion started by: laxmi131
1 Replies

7. HP-UX

Encrypting DataBase Passwords

Hi All We have got a HUGE process of securing our infrastructure(primarily the database) We basically establish connection to oracle database from our UNIX shell scripts when we do ps -ef | grep sqlplus it blurts out all the credentials as output. sqplus username/password@server ... (1 Reply)
Discussion started by: b_sri
1 Replies

8. Shell Programming and Scripting

Delete one Line from Main File and Create another

Hi I need to write a script which will search for some text in some CSV files and will delete the record/line with the matching text and will insert that record/line into some other file. Can you please help? Here is what I want: - Contents of MainFile.csv: - 1,2,3,Loan,4,5,6... (3 Replies)
Discussion started by: kapilk
3 Replies

9. Shell Programming and Scripting

How to delete first record from all the file?

hi All, need help...!! I want to delete header record from all the files in current directory. using sed command i can delete first record from a file but i want to delete first record from all the files so can anybosy help me how can i do this? I will appreciate your help. (3 Replies)
Discussion started by: NirajThakar
3 Replies

10. Shell Programming and Scripting

Help with extract info if fulfill condition required

Input file (4 DATA record shown in this case): DATA AA0110 ACCESSION AA0110 VERSION AA0110 GI:157412239 FEATURES Location/Qualifiers length 1..1170 1..1700 /length="1170" position ... (5 Replies)
Discussion started by: perl_beginner
5 Replies

11. Shell Programming and Scripting

Insert value to db from text file

Hi, I have a single value in insertval file. I want to load that value to database with the current date. I tried the below code but it is inserting <NULL> to database and echo $c is also null. cat insertval | awk -F ' ' '{print $1}' > c echo c=$c data=`sqlplus -s user/pwd@hostname <<EOF ... (5 Replies)
Discussion started by: Neethu
5 Replies

12. UNIX for Dummies Questions & Answers

Dump Files

Hi, i'd like to know the command line to create a dump file from a non particular table, o database. I'm working with RedHat environment. Ayn idea would be helpful. Thanks. (3 Replies)
Discussion started by: Newer
3 Replies

13. UNIX for Advanced & Expert Users

Pound symbol is not displayed in Linux file

Hi All, I am trying to copy a test from database into a file, basically that is what our application do. We will process all values and store it in a Linux file. When i look the database I am seeing as below spend (£000's) but after processing and stored to a file , i am seeing as... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

14. Shell Programming and Scripting

Grepping a list of words from one file in a master database of homophones

Hello, I am sorry if the title is confusing, but I need a script to grep a list of Names from a Source file in a Master database in which all the homophonic variants of the name are listed along with a single indexing key and store all of these in an output file. I need this because I am testing... (4 Replies)
Discussion started by: gimley
4 Replies

15. Programming

Hierarchical Query for Sybase database

Team I am using DBartisan tool for sybase database. I have a table that has below fields Employee_ID,EMP_Name,First_Nm,Last_Nm,Emp_Designation,Employee's_Manager is it possible to retrieve hierarchical data based on below fields Emp_Designation will have Soft Engg,SSE,Team Lead,... (6 Replies)
Discussion started by: Perlbaby
6 Replies