DBWRAP_TOOL(1) | System Administration tools | DBWRAP_TOOL(1) |
dbwrap_tool - low level TDB/CTDB manipulation tool using the dbwrap interface
dbwrap_tool [--persistent] [--non-persistent] [-d <debug level>] [-s <config file>] [-l <log file base>] [-V] [--option=<name>=<value>] {<database>} {<operation>} [<key> [<type> [<value>]]]
This tool is part of the samba(7) suite.
The dbwrap_tool program is used to read and manipulate TDB/CTDB databases using the dbwrap interface.
The following database operations are available:
The following types are available:
--persistent
Exactly one of --persistent and --non-persistent must be specified.
--non-persistent
Caveat: opening a database as non-persistent when there is currently no other opener will wipe the database.
Exactly one of --persistent and --non-persistent must be specified.
-d|--debuglevel=level
The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
Note that specifying this parameter here will override the log level parameter in the smb.conf file.
-V|--version
-s|--configfile=<configuration file>
-l|--log-basename=logdirectory
--option=<name>=<value>
-?|--help
--usage
dbwrap_tool <database> fetch <key> <type>
dbwrap_tool <database> store <key> <type> <value>
dbwrap_tool <database> delete <key>
dbwrap_tool <database> exists <key>
dbwrap_tool <database> erase
dbwrap_tool <database> listkeys
dbwrap_tool <database> listwatchers
List all keys from winbindd_idmap.tdb
Fetch record with key "USER HWM" as uint32
Remove record with key "USER HWM"
Store and overwrite record "USER HWM" with value 214
Use with caution!
This man page is part of version 4.9.5-Debian of the Samba suite.
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 dbwrap_tool manpage was written by Bjoern Baumbach.
02/03/2022 | Samba 4.9.5-Debian |