s4:libnet_export_keytab: add only_current_keys option
authorStefan Metzmacher <metze@samba.org>
Fri, 15 Mar 2024 15:11:10 +0000 (16:11 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2024 03:04:34 +0000 (03:04 +0000)
commite2a5fbf5cf2b65db77e7c5a859c896acca69f432
treef918d49655dd55aa0fe40fd06476253ed78bd9ba
parent7f1e89488a7212832819380a93fe137a6fa28c37
s4:libnet_export_keytab: add only_current_keys option

By default we also export on the old and older passwords...

In order to do a kinit with a keytab it might we useful to
include only the current keys.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/dckeytab.py
selftest/knownfail.d/export-keytab [deleted file]
source4/auth/kerberos/srv_keytab.c
source4/libnet/libnet_export_keytab.c
source4/libnet/libnet_export_keytab.h
source4/libnet/py_net_dckeytab.c