baseurl
baseurl
Specifies the host name and port number used to contact the Directory Server. This
parameter also determines the search base used for searches performed from the gateway
and whether the gateway uses SSL to communicate with the Directory Server.
Format
baseurl [ldap | ldaps]://dirHost:dirPort/searchBase
ldap | ldaps. Use LDAP to have the gateway communicate the Directory Server without
using SSL. Use LDAPS to have the gateway communicate with the Directory Server
using SSL.
dirHost. Indicates the host name of the machine where the Directory Server is installed.
dirPort. Indicates the port number used by the Directory Server. Always specify a port
number, even when using standard LDAP or LDAPS port numbers (389 and 636,
respectively).
searchBase. Indicates the distinguished name (DN) representing the point in the directory
from which all searches are performed. Normally,
suffix.
Substitute the following hexadecimal values for the equal sign, space, and comma in the
search base:
•
use %3D instead of equal sign (=)
•
use %20 instead of space ( )
•
use %2C instead of comma (,)
Example
The following example sets the base URL to use SSL communications to a server running
on the well-known LDAP security port (
o=example.com
baseurl "ldaps://dirserver.example.com:636/o%3Dexample.com"
binddnfile
Specifies the location of the file where the bind DN and bind password are stored. This
file should be stored separately of the
binddnfile
92
Red Hat Directory Server Gateway Customization Guide • April 2005
.
is used to authenticate to the server for non-anonymous searching.
searchBase
). The base search address is set to
636
file for the gateway instance. The
.conf
is set to the directory's