mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
s4:dsdb: Add a note that administrators should not set the clock too far in the future
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
a397029813
commit
dcc5724ed7
@ -1180,6 +1180,12 @@ int gmsa_recalculate_managed_pwd(TALLOC_CTX *mem_ctx,
|
||||
* the keys.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Administrators should be careful not to set a DC’s clock too far in
|
||||
* the future, or a gMSA’s keys may be stuck at that future time and
|
||||
* stop updating until said time rolls around for real.
|
||||
*/
|
||||
|
||||
current_key_is_valid = pwd_id != NULL &&
|
||||
current_time < current_key_expiration_time;
|
||||
if (current_key_is_valid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user