]> git.ipfire.org Git - thirdparty/samba.git/commit
net: add `net tdb smbXsrv wipedbs` alias for `net serverid wipedbs`
authorRalph Boehme <slow@samba.org>
Sun, 29 Jun 2025 16:04:41 +0000 (18:04 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 Aug 2025 14:52:34 +0000 (14:52 +0000)
commit3b954ccbaab39f7ce3223eb6a28b0e9fde67d007
treedfc3c88375309f7c9866ea85bdae9203c337b1bb
parentebf53bcaa893914c49417d382a6b6384cbbaee50
net: add `net tdb smbXsrv wipedbs` alias for `net serverid wipedbs`

`net serverid` is imho not the right place for the wipedbs functionality. Add
it as an alias to `net tdb`. It works pretty opaque and unless you run

 # net tdb smbXsrv wipedbs --help
 Usage:
 net serverid wipedbs [--test] [--verbose]
 Example:
 net serverid wipedbs -v

the use won't notice it is an alias.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/utils/net_proto.h
source3/utils/net_serverid.c
source3/utils/net_tdb.c