1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

tests/krb5: Don’t pass gMSA as ‘domain_joined_mach_creds’ parameter

We just want to test whether a gMSA can use netlogon.

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-30 16:28:44 +12:00 committed by Andrew Bartlett
parent ad0740751e
commit 336a58473a

View File

@ -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: