tests/krb5/kdc_base_test.py: Add methods to determine supported encryption types
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 15 Jun 2021 03:12:38 +0000 (15:12 +1200)
committerStefan Metzmacher <metze@samba.org>
Thu, 1 Jul 2021 17:46:31 +0000 (17:46 +0000)
commit7d4a0ed21be49d13c2b815582f2d04f0c058bf3a
tree70c5a7ecf99c578ea29c16dfa21b53eec34cb196
parent210e544016a3a4de1cdb76ce28a2148811ff07eb
tests/krb5/kdc_base_test.py: Add methods to determine supported encryption types

This is done based on the domain functional level, which corresponds to
the logic Samba uses to decide whether or not to generate a
Primary:Kerberos-Newer-Keys element for the supplementalCredentials
attribute.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
python/samba/tests/krb5/kdc_base_test.py