summaryrefslogtreecommitdiff
path: root/source3/utils/dbwrap_tool.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner1-0/+1
Guenther
2010-02-23s3: Consolidate server_id_self into the equivalent procid_self()Volker Lendecke1-1/+1
2009-05-26s3:dbwrap_tool: add listkeys operationMichael Adam1-2/+45
Michael
2009-05-26s3:dbwrap_tool: remove superfluous command mappingMichael Adam1-1/+0
Michael
2009-05-26s3:dbwrap_tool: add "erase" opearationMichael Adam1-6/+42
Michael
2009-05-15s3:first cut at dbwrap_tool - a tdb tool that is CTDB-aware.Michael Adam1-0/+247
This tool (in contrast to tdbtool) reads Samba's configuration and if clustering = yes, it talks to CTDB instead of accessing the TDB data bases directly. This is done by simply using the dbwrap mechanim, just like the Samba daemons. This first version can read and write int32 and uint32 values and delete records from a (c)tdb database. More operations will follow. This tool can already be useful in CTDB environments, e.g. when "net idmap restore" fails to set the USER and GROUP HWM keys, because the methods are deliberately not implemented in idmap_tdb2.c. You can manually set the high water marks with "dbwrap_tool store idmap_tdb2.tdb 'USER HWM' int32 12345" and "dbwrap_tool store idmap_tdb2.tdb 'GROUP HWM' int32 67890" Michael