diff --git a/python/samba/tests/krb5/gmsa_tests.py b/python/samba/tests/krb5/gmsa_tests.py index 02014bf07da..fa77e198abf 100755 --- a/python/samba/tests/krb5/gmsa_tests.py +++ b/python/samba/tests/krb5/gmsa_tests.py @@ -1514,12 +1514,10 @@ class GmsaTests(GkdiBaseTest, KDCBaseTest): self.gensec_ntlmssp_logon(creds, samdb, expect_success=False) def test_gmsa_can_perform_netlogon(self): - creds = self.gmsa_account(kerberos_enabled=False) self._test_samlogon( - creds, + self.gmsa_account(kerberos_enabled=False), netlogon.NetlogonNetworkInformation, validation_level=netlogon.NetlogonValidationSamInfo4, - domain_joined_mach_creds=creds, ) def _gmsa_can_perform_as_req(self, *, enctype: kcrypto.Enctype) -> None: