Appendix C. LDAP URLs
- The LDAP URL is used to identify the specific Directory Server instance when the Directory Server is accessed using a web-based client.
- LDAP URLs are used to configure Directory Server referrals.
- LDAP URLs are used to configure access control instructions.
C.1. Components of an LDAP URL
ldap://protocol is used to connect to LDAP servers over unsecured connections, and the
ldaps://protocol is used to connect to LDAP servers over TLS connections. Table C.1, “LDAP URL Components” lists the components of an LDAP URL.
Table C.1. LDAP URL Components
|host name|| Name (or IPv4 or IPv6 address) of the LDAP server. For example, |
|port|| Port number of the LDAP server (for example, |
|base_dn||Distinguished name (DN) of an entry in the directory. This DN identifies the entry that is the starting point of the search. If no base DN is specified, the search starts at the root of the directory tree.|
|attributes|| The attributes to be returned. To specify more than one attribute, use commas to separate the attributes; for example, |
|scope|| The scope of the search, which can be one of these values:
|filter|| Search filter to apply to entries within the specified scope of the search. If no filter is specified, the server uses the filter |
dc=example,dc=comthat returns all attributes for entries matching
(sn=Jensen), use the following LDAP URL:
??, indicate that no attributes have been specified. Since no specific attributes are identified in the URL, all attributes are returned in the search.