Red Hat Directory Server 8.0 Administrator's Guide
Appendix C. LDAP URLs
LDAP URLs identify the Red Hat Directory Server instance, similarly to the way site URLs
identify a specific website or web page. There are three common times when the LDAP URL of
the Directory Server instance is used:
• The LDAP URL is used to identif 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.
NOTE
The LDAP URL format is described in RFC 4516, which is available at
http://www.ietf.org/rfc/rfc4516.txt.
1. Components of an LDAP URL
LDAP URLs have the following syntax:
ldap[s]://hostname:port/base_dn?attributes?scope?filter
The 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/SSL connections. Table C.1,
“LDAP URL Components” lists the components of an LDAP URL.
NOTE
The LDAP URL format is described in RFC 4516, which is available at
http://www.ietf.org/rfc/rfc4516.txt.
Component Description
hostname Name (or IP address in dotted format) of the
LDAP server. For example,
ldap.example.com or 192.202.185.90.
port Port number of the LDAP server (for example,
696). If no port is specified, the standard
LDAP port (389) or LDAPS port (636) is used.
571