1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

tests/krb5: Read current time from correct SamDB

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Jo Sutton 2024-04-24 17:16:55 +12:00 committed by Andrew Bartlett
parent fdaa294369
commit 65fe09007f

View File

@ -906,7 +906,7 @@ class GmsaTests(GkdiBaseTest, KDCBaseTest):
creds = self.gmsa_account(samdb=local_samdb, interval=password_interval)
dn = creds.get_dn()
current_nt_time = self.current_nt_time(local_samdb)
current_nt_time = self.current_nt_time(samdb)
self.set_db_time(local_samdb, current_nt_time)
# Search the local database for the accounts keys.
@ -983,7 +983,7 @@ class GmsaTests(GkdiBaseTest, KDCBaseTest):
creds = self.gmsa_account(samdb=local_samdb, interval=password_interval)
dn = creds.get_dn()
current_nt_time = self.current_nt_time(local_samdb)
current_nt_time = self.current_nt_time(samdb)
self.set_db_time(local_samdb, current_nt_time)
# Search the local database for the accounts keys.