Platform SDK: Active Directory, ADSI, and Directory Services |
An ADsPath string for the ADSI LDAP provider starts with either "LDAP:" or "LDAP://<>" where "<>" is an LDAP provider path.
For example, the following list of ADsPath names are valid:
LDAP: LDAP://ldapsvr/O=Internet/DC=COM/DC=MSFT/DC=DEV/CN=TopHat LDAP://ldapsvr/CN=TopHat,DC=DEV,DC=MSFT,DC=COM,O=Internet LDAP://MyDomain.microsoft.com/CN=TopH,DC=DEV,DC=MSFT,DC=COM,O=Internet LDAP://CN=TopHat,DC=DEV,DC=MSFT,DC=COM,O=Internet
The following table lists reserved characters for an ADsPath string in the LDAP provider.
Special Characters | ||
---|---|---|
Backward slash | \ | Escape character, used to precede special characters to signify they should be used as literals. |
Comma,
Forward slash Semicolon |
,
/ ; |
Separates component from class specifier in last component. |
Double quote | " | Delimiter of ADsPath. |
Equal | = | Joins a naming class specifier with a component, for example, "OU=Finance". |