1NTDBTOOL(8) System Administration tools NTDBTOOL(8)
2
3
4
6 ntdbtool - manipulate the contents NTDB files
7
9 ntdbtool NTDBFILE [COMMANDS...]
10
12 This tool is part of the samba(1) suite.
13
14 ntdbtool a tool for displaying and altering the contents of Samba NTDB
15 (New Trivial DataBase) files. Each of the commands listed below can be
16 entered interactively or provided on the command line.
17
19 create NTDBFILE
20 Create a new database named NTDBFILE.
21
22 open NTDBFILE
23 Open an existing database named NTDBFILE.
24
25 erase
26 Erase the current database.
27
28 dump
29 Dump the current database as strings.
30
31 cdump
32 Dump the current database as connection records.
33
34 keys
35 Dump the current database keys as strings.
36
37 hexkeys
38 Dump the current database keys as hex values.
39
40 info
41 Print summary information about the current database.
42
43 insert KEY DATA
44 Insert a record into the current database.
45
46 move KEY NTDBFILE
47 Move a record from the current database into NTDBFILE.
48
49 store KEY DATA
50 Store (replace) a record in the current database.
51
52 show KEY
53 Show a record by key.
54
55 delete KEY
56 Delete a record by key.
57
58 list
59 Print the current database hash table and free list.
60
61 free
62 Print the current database and free list.
63
64 ! COMMAND
65 Execute the given system command.
66
67 first
68 Print the first record in the current database.
69
70 next
71 Print the next record in the current database.
72
73 check
74 Check the integrity of the current database.
75
76 repack
77 Repack a database using a temporary file to remove fragmentation.
78
79 quit
80 Exit ntdbtool.
81
83 tdbtool(8)
84
86 The contents of the Samba NTDB files are private to the implementation
87 and should not be altered with ntdbtool.
88
90 This man page is correct for version 4.0 of the Samba suite.
91
93 The original Samba software and related utilities were created by
94 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
95 Source project similar to the way the Linux kernel is developed.
96
97
98
99Samba 4.1 06/19/2018 NTDBTOOL(8)