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:
parent
fdaa294369
commit
65fe09007f
@ -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 account’s 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 account’s keys.
|
||||
|
Loading…
Reference in New Issue
Block a user