Skip to content

Commit 06d6430

Browse files
author
SkelSec
committed
Add AAD trust type to TrustType enum in adtrust.py
1 parent d5a12a2 commit 06d6430

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

msldap/ldap_objects/adtrust.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class TrustType(enum.Enum):
3636
UPLEVEL = 0x00000002 #): The trusted domain is a Windows domain running Active Directory.
3737
MIT = 0x00000003 #): The trusted domain is running a non-Windows, RFC4120-compliant Kerberos distribution. This type of trust is distinguished in that (1) a SID is not required for the TDO, and (2) the default key types include the DES-CBC and DES-CRC encryption types (see [RFC4120] section 8.1).
3838
DCE = 0x00000004 #): Historical reference; this value is not used in Windows.
39+
AAD = 0x00000005 #): The trusted domain is an Azure Active Directory domain.
3940

4041
# From: https://msdn.microsoft.com/en-us/library/cc223768.aspx
4142
class TrustDirection(enum.Enum): #enum.IntFlag << the actual type is intflag, but noone cares

0 commit comments

Comments
 (0)