'delegation_from_dn': None,
'trusted_to_auth_for_delegation': False,
'fast_support': False,
+ 'claims_support': False,
+ 'compound_id_support': False,
'sid_compression_support': True,
'member_of': None,
'kerberos_enabled': True,
delegation_from_dn,
trusted_to_auth_for_delegation,
fast_support,
+ claims_support,
+ compound_id_support,
sid_compression_support,
member_of,
kerberos_enabled,
enctypes = supported_enctypes
if fast_support:
enctypes = enctypes or 0
- enctypes |= KerberosCredentials.fast_supported_bits
+ enctypes |= security.KERB_ENCTYPE_FAST_SUPPORTED
+ if claims_support:
+ enctypes = enctypes or 0
+ enctypes |= security.KERB_ENCTYPE_CLAIMS_SUPPORTED
+ if compound_id_support:
+ enctypes = enctypes or 0
+ enctypes |= security.KERB_ENCTYPE_COMPOUND_IDENTITY_SUPPORTED
if sid_compression_support is False:
enctypes = enctypes or 0
enctypes |= security.KERB_ENCTYPE_RESOURCE_SID_COMPRESSION_DISABLED
account_type=self.AccountType.COMPUTER,
opts={
'fast_support': True,
+ 'claims_support': True,
+ 'compound_id_support': True,
'supported_enctypes': (
security.KERB_ENCTYPE_RC4_HMAC_MD5 |
security.KERB_ENCTYPE_AES256_CTS_HMAC_SHA1_96_SK
opts={
'trusted_to_auth_for_delegation': True,
'fast_support': True,
+ 'claims_support': True,
+ 'compound_id_support': True,
'supported_enctypes': (
security.KERB_ENCTYPE_RC4_HMAC_MD5 |
security.KERB_ENCTYPE_AES256_CTS_HMAC_SHA1_96_SK
class KerberosCredentials(Credentials):
- fast_supported_bits = (security.KERB_ENCTYPE_FAST_SUPPORTED |
- security.KERB_ENCTYPE_COMPOUND_IDENTITY_SUPPORTED |
- security.KERB_ENCTYPE_CLAIMS_SUPPORTED)
-
- non_etype_bits = fast_supported_bits | (
+ non_etype_bits = (
+ security.KERB_ENCTYPE_FAST_SUPPORTED) | (
+ security.KERB_ENCTYPE_COMPOUND_IDENTITY_SUPPORTED) | (
+ security.KERB_ENCTYPE_CLAIMS_SUPPORTED) | (
security.KERB_ENCTYPE_RESOURCE_SID_COMPRESSION_DISABLED) | (
security.KERB_ENCTYPE_AES256_CTS_HMAC_SHA1_96_SK)