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:

       o   fetch: fetch a record

       o   store: create or modify a record

       o   delete: remove a record

       o   exists: test for existence of a record

       o   erase: remove all records

       o   listkeys: list all available records

       o   listwatchers: list processes, which are waiting for changes in a

       The following types are available:

       o   int32: signed 32bit integer

       o   uint32: unsigned 32bit integer

       o   string: "hello world"

       o   hex: hex strings like "68656C6C6F20776F726C6400" ("hello world")

           Open the database as a persistent database.

           Exactly one of --persistent and --non-persistent must be specified.

           Open the database as a non-persistent database.

           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.

           level is an integer from 0 to 10. The default value if this

           Note that specifying this parameter here will override the log
           level parameter in the smb.conf file.

           Prints the program version number.

       -s|--configfile=<configuration file>
           The file specified contains the configuration details required by
           the server. The information in this file includes server-specific
           information such as what printcap file to use, as well as
           descriptions of all the services that the server is to provide. See
           smb.conf for more information. The default configuration file name
           is determined at compile time.

           Base directory name for log/debug files. The extension ".progname"
           will be appended (e.g. log.smbclient, log.smbd, etc...). The log
           file is never removed by the client.

           Set the smb.conf(5) option "<name>" to value "<value>" from the
           command line. This overrides compiled-in defaults and options read
           from the configuration file.

           Print a summary of command line options.

           Display brief usage message.

       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

           store "USER HWM" hex D6000000

       Use with caution!

       This man page is correct for version 3 of the Samba suite.

       smbd(8), samba(7)

       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.

Samba 4.3                         05/23/2019                    DBWRAP_TOOL(1)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2019 Hurricane Electric. All Rights Reserved.