The following table maps the LDAP types used in ADSI to user-friendly string syntax.
LDAP Types |
Friendly String Syntax |
LDAPTYPE_ACCESSPOINTDN |
AccessPointDN |
LDAPTYPE_ATTRIBUTETYPEDESCRIPTION |
AttributeTypeDescription |
LDAPTYPE_AUDIO |
Audio |
LDAPTYPE_BITSTRING |
BitString |
LDAPTYPE_BOOLEAN |
Boolean |
LDAPTYPE_CASEEXACTSTRING |
CaseExactString |
LDAPTYPE_CASEIGNORE_STRING |
CaseIgnoreString |
LDAPTYPE_CERTIFICATE |
Certificate |
LDAPTYPE_CERTIFICATELIST |
CertificateList |
LDAPTYPE_CERTIFICATEPAIR |
CertificatePair |
LDAPTYPE_COUNTRYSTRING |
Country |
LDAPTYPE_DATAQUALITYSYNTAX |
DataQualitySyntax |
LDAPTYPE_DELIVERYMETHOD |
DeliveryMethod |
LDAPTYPE_DIRECTORYSTRING |
DirectoryString |
LDAPTYPE_DN |
DN |
LDAPTYPE_DSAQUALITYSYNTAX |
DSAQualitySyntax |
LDAPTYPE_ENHANCED_GUIDE |
EnhancedGuide |
LDAPTYPE_FACSIMILETELEPHONENUMBER |
FacsimileTelephoneNumber |
LDAPTYPE_FAX |
Fax |
LDAPTYPE_GENERALIZEDTIME |
GeneralizedTime |
LDAPTYPE_GENERALIZEDTIME |
Time (only site server does this) |
LDAPTYPE_GUIDE |
Guide |
LDAPTYPE_IA5STRING |
IA5String |
LDAPTYPE_INTEGER |
INTEGER |
LDAPTYPE_INTEGER8 |
INTEGER8 (not in LDAP, NTDS) |
LDAPTYPE_JPEG |
JPEG |
LDAPTYPE_MAILPREFERENCE |
MailPreference |
LDAPTYPE_NAMEANDOPTIONALUID |
NameAndOptionalUID |
LDAPTYPE_NUMERICSTRING |
NumericString |
LDAPTYPE_OBJECTCLASSDESCRIPTION |
ObjectClassDescription |
LDAPTYPE_OCTETSTRING |
Binary |
LDAPTYPE_OCTETSTRING |
OctetString (not in RFC) |
LDAPTYPE_OID |
OID |
LDAPTYPE_ORNAME |
ORName |
LDAPTYPE_OTHERMAILBOX |
OtherMailbox |
LDAPTYPE_PASSWORD |
Password |
LDAPTYPE_POSTALADDRESS |
PostalAddress |
LDAPTYPE_PRESENTATIONADDRESS |
PresentationAddress |
LDAPTYPE_PRINTABLESTRING |
PrintableString |
LDAPTYPE_SECURITY_DESCRIPTOR |
ObjectSecurityDescriptor |
LDAPTYPE_TELEPHONENUMBER |
TelephoneNumber |
LDAPTYPE_TELETEXTERMINALIDENTIFIER |
TeletexTerminalIdentifier |
LDAPTYPE_TELEXNUMBER |
TelexNumber |
LDAPTYPE_UTCTIME |
UTCTIME |