s3:utils: add 'net witness force-response'
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)
commit946bf100685da22cebbc38bcf96139c02ea35921
treec3d448b191a927b4ab0cd8da775c4447818e6496
parent8a643fea95c2d7d4f6709a10ff798bf3f9e210aa
s3:utils: add 'net witness force-response'

This allows generating any possible AsyncNotify response
for the specified selection of witness registrations
from rpcd_witness_registration.tdb.

This can be used by developers to test the (windows)
client behavior to specific AsyncNotify responses.

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