summaryrefslogtreecommitdiff
path: root/source3/utils/profiles.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-05-15 01:48:55 +0200
committerMichael Adam <obnox@samba.org>2009-05-15 11:46:53 +0200
commit6d82b5975598f1742c53ebdaa2fa89f7cf148b85 (patch)
tree248e5243954145322fb8de489e7c956d5a439479 /source3/utils/profiles.c
parent4dce2dfb5b547d90b13597672abc2cae1a062b53 (diff)
downloadsamba-6d82b5975598f1742c53ebdaa2fa89f7cf148b85.tar.gz
samba-6d82b5975598f1742c53ebdaa2fa89f7cf148b85.tar.bz2
samba-6d82b5975598f1742c53ebdaa2fa89f7cf148b85.zip
s3:first cut at dbwrap_tool - a tdb tool that is CTDB-aware.
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
Diffstat (limited to 'source3/utils/profiles.c')
0 files changed, 0 insertions, 0 deletions