s3:utils: add 'net witness force-unregister'
authorStefan Metzmacher <metze@samba.org>
Fri, 15 Dec 2023 13:49:37 +0000 (14:49 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 26 Jan 2024 17:00:33 +0000 (17:00 +0000)
commit8536a217922f7a2c5545b8f87084d08ea955ac61
tree06cf5a28d49bda493929cdcba3ad5dca7bf6840a
parent290ef547d869100bdea42784b8a8783085eed805
s3:utils: add 'net witness force-unregister'

This allows removing of the specified selection
of witness registrations from rpcd_witness_registration.tdb.

Any pending AsyncNotify will get WERR_NOT_FOUND.

Typically this triggers a clean re-registration on the client.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source3/utils/net_witness.c