From: Jo Sutton Date: Wed, 24 Apr 2024 05:16:55 +0000 (+1200) Subject: tests/krb5: Read current time from correct SamDB X-Git-Tag: tdb-1.4.11~672 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65fe09007f87322aaf35b610add2776b54005ec9;p=thirdparty%2Fsamba.git tests/krb5: Read current time from correct SamDB Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/krb5/gmsa_tests.py b/python/samba/tests/krb5/gmsa_tests.py index eff5a69f155..5ed986fe0a4 100755 --- a/python/samba/tests/krb5/gmsa_tests.py +++ b/python/samba/tests/krb5/gmsa_tests.py @@ -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.