librpc/idl: Add a parser for a FILE: format keytab
authorAndrew Bartlett <abartlet@samba.org>
Tue, 20 Feb 2024 07:12:37 +0000 (20:12 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 27 Feb 2024 01:11:37 +0000 (01:11 +0000)
commitecaaff57e45bf70754026c54cfba02cd9ca98df1
treec0325bee59460f0a4fb59aa141d245958b0e1397
parent9a5cc120421e5d8b60897a9d49e2eef820eff598
librpc/idl: Add a parser for a FILE: format keytab

This will let us examine keytab entries exported for gMSA accounts and
ensure they are the values we expect.  This will in particular help
test our KDC via the "samba-tool domain exportkeytab" as this is a thin
wrapper around the relevant code.

Additionally, we can use this to test the new client-side keytab generation
in "samba-tool domain exportkeytab" for gMSA accounts.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
librpc/idl/krb5ccache.idl