From 8deed3069d1b33bbed285fd7fdb83c90a38b4d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= Date: Mon, 15 Oct 2012 17:17:29 +0200 Subject: [PATCH] docs-xml: add dbwrap_tool.1 manual page (fix bug #9568) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on commit 8d6104f02d9ab879efe7867fec53cbe5cc408ded. Signed-off-by: Björn Baumbach Reviewed-by: Michael Adam Reviewed-by: Volker Lendecke --- docs-xml/manpages-3/dbwrap_tool.1.xml | 148 ++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 docs-xml/manpages-3/dbwrap_tool.1.xml diff --git a/docs-xml/manpages-3/dbwrap_tool.1.xml b/docs-xml/manpages-3/dbwrap_tool.1.xml new file mode 100644 index 0000000..2a20701 --- /dev/null +++ b/docs-xml/manpages-3/dbwrap_tool.1.xml @@ -0,0 +1,148 @@ + + + + + + dbwrap_tool + 1 + Samba + System Administration tools + 3.6 + + + + + dbwrap_tool + low level TDB/CTDB manipulation tool using the dbwrap interface + + + + + dbwrap_tool + <database> + <operation> + <key> + <type> + <value> + + + + + + + DESCRIPTION + + 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: + + fetch: fetch a record + store: create or modify a record + delete: remove a record + erase: remove all records + listkeys: list all available records + + + The following types are available: + + int32: signed 32bit integer + uint32: unsigned 32bit integer + string: "hello world" + + + + + + OPTIONS + + None. + + + + COMMANDS + + fetch + + dbwrap_tool <database> fetch <key> <type> + + + + store + + dbwrap_tool <database> store <key> <type> <value> + + + + delete + + dbwrap_tool <database> delete <key> + + + + erase + + dbwrap_tool <database> erase + + + + listkeys + + dbwrap_tool <database> listkeys + + + + + + EXAMPLES + + List all keys from winbindd_idmap.tdb + dbwrap_tool winbindd_idmap.tdb listkeys + + Fetch record with key "USER HWM" as uint32 + dbwrap_tool winbindd_idmap.tdb fetch "USER HWM" uint32 + + Remove record with key "USER HWM" + dbwrap_tool winbindd_idmap.tdb remove "USER HWM" + + Store and overwrite record "USER HWM" with value 214 + dbwrap_tool winbindd_idmap.tdb store "USER HWM" uint32 214 + + + + + + NOTES + + Use with caution! + + + + + VERSION + + This man page is correct for version 3 of the Samba suite. + + + + SEE ALSO + smbd + 8, samba + 7 + + + + 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 dbwrap_tool manpage was written by Bjoern Baumbach. + + + -- 1.7.12.4