dbwrap_tool — low level TDB/CTDB manipulation tool using the dbwrap interface
dbwrap_tool
{<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:
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"
dbwrap_tool
winbindd_idmap.tdb listkeys
dbwrap_tool
winbindd_idmap.tdb fetch "USER HWM" uint32
dbwrap_tool
winbindd_idmap.tdb remove "USER HWM"
dbwrap_tool
winbindd_idmap.tdb store "USER HWM" uint32 214