auth/credentials: Cope with GMSA 5min password preview in cli_credentials_set_gmsa_pa...
authorAndrew Bartlett <abartlet@samba.org>
Fri, 2 Feb 2024 01:40:24 +0000 (14:40 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Mar 2024 22:06:39 +0000 (22:06 +0000)
commit0490aed71686db5665ee560d0838a3721aa2ffda
tree20e1de15181e9214081bdf877c6c85c5ff43d995
parentbd2edecff06c2ce3393c5bfeb7906cce77eed702
auth/credentials: Cope with GMSA 5min password preview in cli_credentials_set_gmsa_passwords()

This is unused in Samba currently, but is a subtle race that will be difficult
to debug if this is ever used, so this makes things easier for some future
developer.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
auth/credentials/credentials.h
auth/credentials/credentials_gmsa.c
auth/credentials/wscript_build
source4/auth/kerberos/srv_keytab.c