Distinguished Names (DN) and Reserved Characters |
|
| Solution Integration > LDAP > Limitations > LDAP Contacts |
Distinguished names (DN) are used to configure either global LDAP search or LDAP shortcut group. Actually, Search base and Credential DN values are DN. An LDAP object is referenced by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas. An RDN is an attribute with an associated value in the form attribute=value. The following table lists typical RDN attribute types.
The following are examples of distinguished names: •CN=Jeff Smith,OU=Sales,DC=iptrade,DC=local •CN=Karen Berge,CN=admin,DC=corp,DC= iptrade,DC=local
The following table lists reserved characters that cannot be used in an attribute value without being escaped.
If a reserved character is part of an attribute value, it must be escaped by prefixing it with a backslash (\) in the attribute string. If an attribute value contains other reserved characters, such as the equals sign (=), it must be encoded in hexadecimal by replacing the character with a backslash followed by two hex digits. The following are examples of some distinguished names that include escaped characters. The first example is an organizational unit name with an embedded comma; the second example is a value containing a carriage return:
•CN=Litware,OU=Docs\, Adatum,DC=iptrade,DC=local •CN=Before\0DAfter,OU=Test,DC=North America,DC=iptrade,DC=local |