mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
tests/krb5: make use of conn.auth_info() in _test_samlogon()
In future we'll have KRB5 instead of SCHANNEL... Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
cbd990b2b6
commit
18a62ea23f
@ -3707,8 +3707,7 @@ class KDCBaseTest(TestCaseInTempDir, RawKerberosTest):
|
||||
conn = netlogon.netlogon(f'ncacn_ip_tcp:{dc_server}[schannel,seal]',
|
||||
self.get_lp(),
|
||||
domain_joined_mach_creds)
|
||||
auth_type = dcerpc.DCERPC_AUTH_TYPE_SCHANNEL
|
||||
auth_level = dcerpc.DCERPC_AUTH_LEVEL_PRIVACY
|
||||
(auth_type, auth_level) = conn.auth_info()
|
||||
|
||||
if logon_type == netlogon.NetlogonInteractiveInformation:
|
||||
logon = netlogon.netr_PasswordInfo()
|
||||
|
Loading…
Reference in New Issue
Block a user