jspωiki
Microsoft Active Directory Syntax

Overview[1][2]#

Microsoft Active Directory Syntax are LDAPSyntaxes that are specific to Microsoft Active Directory

Microsoft Active Directory Syntax is a mess.#

Way to many different types of references to the same thing. Microsoft appears to refuse to follow the standards for formatting LDAPSyntaxes, AttributeTypes, and ObjectClasses. You must go to many pages on their sites to figure out what how this attribute should be determined.

Ldapwiki's Best Effort#

The LDAPSyntaxes supported by Domain Controllers are as shown in the following table. The set of syntaxes supported is NOT extensible by schema modifications. Each syntax is identified by the combination of the attributeSyntax, oMSyntax and, in select cases, oMObjectClass attributes of an attributeSchema object. The cases for which oMObjectClass is not used are indicated by the presence of a hyphen in the oMObjectClass column in the table. The combinations shown in the following table are exhaustive; this table is consistent and identical for Windows Server 2000 operating system and later.

While oMObjectClass conceptually contains an object identifier (OID), it is declared in the schema as String(Octet) syntax, requiring that values read from and written to it be expressed as the Basic Encoding Rules (BER) encoding of the OID. In the table, both the BER-encoded form and the dotted string form of the OID are given.

NAME Microsoft Active DirectorySyntax OIDoMSyntaxRFC 2252ADsType NameoMObjectClassComment
DistinguishedName (a.k.a. Distinguished Name
or DN String or Object(DS-DN) and is a DN Syntax)
2.5.5.11271.3.6.1.4.1.1466.115.121.1.12 (DN)ADSTYPE_DN_STRING1.3.12.2.1011.28.0.714OLE Automation string
OID Syntax2.5.5.261.3.6.1.4.1.1466.115.121.1.38 (OID)ADSTYPE_CASE_IGNORE_STRING OLE Automation string
Case-sensitive String2.5.5.3271.3.6.1.4.1.1466.115.121.1.5 (Binary)ADSTYPE_CASE_EXACT_STRING OLE Automation string
telex2.5.5.420 1.2.840.113556.1.4.905ADSTYPE_CASE_IGNORE_STRING OLE Automation string
IA5 String2.5.5.5221.3.6.1.4.1.1466.115.121.1.26 (IA5 String)ADSTYPE_CASE_IGNORE_STRING OLE Automation string
Numeric String2.5.5.6181.3.6.1.4.1.1466.115.121.1.36 (Numeric String)ADSTYPE_NUMERIC_STRING OLE Automation string
DNWithOctetString is a DN Syntax2.5.5.71271.2.840.113556.1.4.903ADSTYPE_DN_WITH_BINARY1.2.840.113556.1.1.1.11IDispatch
OR-Name2.5.5.71271.2.840.113556.1.4.1221ADSTYPE_CASE_IGNORE_STRING2.6.6.1.2.5.11.29OLE Automation string
Boolean2.5.5.811.3.6.1.4.1.1466.115.121.1.7 (Boolean)ADSTYPE_BOOLEAN True=-1, False=0
Enumeration2.5.5.9101.3.6.1.4.1.1466.115.121.1.27 (Integer)ADSTYPE_INTEGER 4-byte signed int
Integer2.5.5.9101.3.6.1.4.1.1466.115.121.1.27 (Integer)ADSTYPE_INTEGER 4-byte signed int
Octet string2.5.5.1041.3.6.1.4.1.1466.115.121.1.5 (Binary)ADSTYPE_OCTET_STRING VARIANT
Replica Link2.5.5.101271.3.6.1.4.1.1466.115.121.1.5 (Binary)ADSTYPE_OCTET_STRING1.2.840.113556.1.1.1.6VARIANT
GeneralizedTime2.5.5.11241.3.6.1.4.1.1466.115.121.1.24 (Generalized Time)ADSTYPE_UTC_TIME date
UTC Time2.5.5.11231.3.6.1.4.1.1466.115.121.1.53 (UTC Time)ADSTYPE_UTC_TIME date
Directory String2.5.5.12641.3.6.1.4.1.1466.115.121.1.15 (Directory String)ADSTYPE_CASE_IGNORE_STRING OLE Automation string
Presentation Address2.5.5.131271.3.6.1.4.1.1466.115.121.1.43 (Presentation Address)ADSTYPE_CASE_IGNORE_STRING1.3.12.2.1011.28.0.732OLE Automation string
DNWithString is a DN Syntax2.5.5.141271.2.840.113556.1.4.904ADSTYPE_DN_WITH_STRING1.2.840.113556.1.1.1.12IDispatch
Access Point2.5.5.141271.3.6.1.4.1.1466.115.121.1.2ADSTYPE_CASE_IGNORE_STRING1.3.12.2.1011.28.0.702OLE Automation string
NT-Sec-Desc2.5.5.15661.2.840.113556.1.4.907ADSTYPE_NT_SECURITY_DESCRIPTOR IDispatch
Large integer2.5.5.16651.3.6.1.4.1.1466.115.121.1.27 (Integer)ADSTYPE_LARGE_INTEGER IDispatch
SID string2.5.5.1741.3.6.1.4.1.1466.115.121.1.40ADSTYPE_OCTET_STRING VARIANT

More Information#

There might be more information for this subject on one of the following: