Red Hat Version4.1 Manual Do Utilizador

Página de 156
80 Netscape Directory Server Gateway Customization Guide
baseurl
Description
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]://<host>:<port>/<search base>
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.
<host>. Indicates the host name of the device where the Directory Server is 
installed.
<port>. 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).
<search base> . Indicates the distinguished name representing the point in the 
directory from which all searches are performed. Normally, the search base is 
set to the directory’s suffix. 
Netscape recommends substituting the following hexadecimal values for the 
equal sign, space, and comma in the search base:
use %3D instead of an equal sign (=)
use %20 instead of a space ( )
use %2C instead of a comma (,)
Example
The following example sets the base URL to use SSL communications to a 
server running on the well-known LDAP security port (636). The base search 
address is set to o=airius.com:
baseurl “ldaps://dirserver.airius.com:636/o%3Dairius.com”