Platform SDK: Active Directory, ADSI, and Directory Services

Mapping between Syntax Object Identifiers and LDAP Types

The following table maps the LDAP types used in ADSI to the OID of the corresponding syntax.

LDAP Types Syntax OID
LDAPTYPE_ACCESSPOINTDN 1.3.6.1.4.1.1466.115.121.1.2
LDAPTYPE_ATTRIBUTETYPEDESCRIPTION 1.3.6.1.4.1.1466.115.121.1.3
LDAPTYPE_AUDIO 1.3.6.1.4.1.1466.115.121.1.4
LDAPTYPE_BITSTRING 1.3.6.1.4.1.1466.115.121.1.6
LDAPTYPE_BOOLEAN 1.3.6.1.4.1.1466.115.121.1.7
LDAPTYPE_CASEEXACTSTRING 1.2.840.113556.1.4.1362
LDAPTYPE_CASEIGNORESTRING 1.2.840.113556.1.4.1221
LDAPTYPE_CASEIGNORESTRING 1.2.840.113556.1.4.905
LDAPTYPE_CERTIFICATE 1.3.6.1.4.1.1466.115.121.1.8
LDAPTYPE_CERTIFICATELIST 1.3.6.1.4.1.1466.115.121.1.9
LDAPTYPE_CERTIFICATEPAIR 1.3.6.1.4.1.1466.115.121.1.10
LDAPTYPE_COUNTRYSTRING 1.3.6.1.4.1.1466.115.121.1.11
LDAPTYPE_DATAQUALITYSYNTAX 1.3.6.1.4.1.1466.115.121.1.13
LDAPTYPE_DELIVERYMETHOD 1.3.6.1.4.1.1466.115.121.1.14
LDAPTYPE_DIRECTORYSTRING 1.3.6.1.4.1.1466.115.121.1.15
LDAPTYPE_DN 1.3.6.1.4.1.1466.115.121.1.12
LDAPTYPE_DSAQUALITYSYNTAX 1.3.6.1.4.1.1466.115.121.1.19
LDAPTYPE_ENHANCEDGUIDE 1.3.6.1.4.1.1466.115.121.1.21
LDAPTYPE_FACSIMILETELEPHONENUMBER 1.3.6.1.4.1.1466.115.121.1.22
LDAPTYPE_FAX 1.3.6.1.4.1.1466.115.121.1.23
LDAPTYPE_GENERALIZEDTIME 1.3.6.1.4.1.1466.115.121.1.24
LDAPTYPE_GUIDE 1.3.6.1.4.1.1466.115.121.1.25
LDAPTYPE_IA5STRING 1.3.6.1.4.1.1466.115.121.1.26
LDAPTYPE_INTEGER 1.3.6.1.4.1.1466.115.121.1.27
LDAPTYPE_INTEGER8 1.2.840.113556.1.4.906
LDAPTYPE_JPEG 1.3.6.1.4.1.1466.115.121.1.28
LDAPTYPE_MAILPREFERENCE 1.3.6.1.4.1.1466.115.121.1.32
LDAPTYPE_NAMEANDOPTIONALUID 1.3.6.1.4.1.1466.115.121.1.34
LDAPTYPE_NUMERICSTRING 1.3.6.1.4.1.1466.115.121.1.36
LDAPTYPE_OBJECTCLASSDESCRIPTION 1.3.6.1.4.1.1466.115.121.1.37
LDAPTYPE_OCTETSTRIN 1.2.840.113556.1.4.1222
LDAPTYPE_OCTETSTRING 1.3.6.1.4.1.1466.115.121.1.40
LDAPTYPE_OCTETSTRING 1.3.6.1.4.1.1466.115.121.1.5
LDAPTYPE_OID 1.3.6.1.4.1.1466.115.121.1.38
LDAPTYPE_OTHERMAILBOX 1.3.6.1.4.1.1466.115.121.1.39
LDAPTYPE_POSTALADDRESS 1.3.6.1.4.1.1466.115.121.1.41
LDAPTYPE_PRESENTATIONADDRESS 1.3.6.1.4.1.1466.115.121.1.43
LDAPTYPE_PRINTABLESTRING 1.3.6.1.4.1.1466.115.121.1.44
LDAPTYPE_SECURITY_DESCRIPTOR 1.2.840.113556.1.4.907
LDAPTYPE_TELEPHONENUMBER 1.3.6.1.4.1.1466.115.121.1.50
LDAPTYPE_TELETEXTERMINALIDENTIFIER 1.3.6.1.4.1.1466.115.121.1.50
LDAPTYPE_TELEXNUMBER 1.3.6.1.4.1.1466.115.121.1.52
LDAPTYPE_UTCTIME 1.3.6.1.4.1.1466.115.121.1.53