mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18: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:
parent
ad0740751e
commit
336a58473a
@ -1514,12 +1514,10 @@ class GmsaTests(GkdiBaseTest, KDCBaseTest):
|
|||||||
self.gensec_ntlmssp_logon(creds, samdb, expect_success=False)
|
self.gensec_ntlmssp_logon(creds, samdb, expect_success=False)
|
||||||
|
|
||||||
def test_gmsa_can_perform_netlogon(self):
|
def test_gmsa_can_perform_netlogon(self):
|
||||||
creds = self.gmsa_account(kerberos_enabled=False)
|
|
||||||
self._test_samlogon(
|
self._test_samlogon(
|
||||||
creds,
|
self.gmsa_account(kerberos_enabled=False),
|
||||||
netlogon.NetlogonNetworkInformation,
|
netlogon.NetlogonNetworkInformation,
|
||||||
validation_level=netlogon.NetlogonValidationSamInfo4,
|
validation_level=netlogon.NetlogonValidationSamInfo4,
|
||||||
domain_joined_mach_creds=creds,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def _gmsa_can_perform_as_req(self, *, enctype: kcrypto.Enctype) -> None:
|
def _gmsa_can_perform_as_req(self, *, enctype: kcrypto.Enctype) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user