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

hostname

port

Description

Name (or IP address in dotted format) of the LDAP server. For example, ldap.example.com or 192.202.185.90.

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

Page 591
Image 591
HP UX Red Hat Direry Server Software manual Components of an Ldap URL, Ldap URLs have the following syntax, Hostname Port