]> git.ipfire.org Git - thirdparty/samba.git/commit
s4-auth: Use consistant externally-supplied time in auth stack
authorAndrew Bartlett <abartlet@samba.org>
Wed, 29 May 2024 02:51:01 +0000 (14:51 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 10 Jun 2024 04:27:30 +0000 (04:27 +0000)
commitd03b3faeb8e6e3446c606b3f167d2e9917514fda
tree9d69ce4b21464b9dd435f5352ec8393f7213f055
parent1dcd8be8f06066f8aed7765c4e92259ce1371991
s4-auth: Use consistant externally-supplied time in auth stack

This makes the time during authentication stay consistent in the KDC
and follows the fake time when we are testing gMSA accounts.  By having
the account expiry follow exactly the same clock as the password expiry
we can hope for less supprises.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
source4/auth/auth.h
source4/auth/ntlm/auth_sam.c
source4/auth/sam.c
source4/kdc/pac-glue.c