mirror of
https://github.com/samba-team/samba.git
synced 2025-10-09 11:33:17 +03:00
tests/krb5: Remove client_as_etypes parameter
The client_as_etypes parameter previously indicated which etypes we thought the client supported. In practice, this was rarely specified, so we simply assumed that all three main enctypes were supported. Now that we have removed this parameter, rewrite the etype-info padata checking code to be simpler, and no longer to contain loops. Use get_default_enctypes() to determine which enctypes are supported. For tests that inherit from KDCBaseTest, this is based on the domain functional level, and will be more correct for tests that previously passed in client_as_etypes=None. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
3b522e2352
commit
4ae7f1cb98
@@ -155,7 +155,6 @@ def connect_kdc(pipe,
|
||||
realm=realm,
|
||||
sname=sname,
|
||||
till=till,
|
||||
client_as_etypes=etypes,
|
||||
expected_error_mode=expected_error_modes,
|
||||
expected_crealm=realm,
|
||||
expected_cname=cname,
|
||||
|
Reference in New Issue
Block a user