Configuring the DSML Gateway
Netscape Directory Server DSML Gateway 9
1. Stop the gateway.
If the gateway is configured with the default parameters, this is done by
stopping the server:
./stop-admin
2. Open the server.xml file in the /clients/dsmlgw/conf directory.
3. The recommended way to change the port number is by running the -u utility
with the activation script to save changes and and then the
-i -p portNumber
utilities to change the port number. Any typos or errors caused by manually
changing this parameter will prevent the gateway and/or Admin Server from
restarting; running the activation script avoids this problem.
However, to change the port number manually, edit the value of the line that
reads
ServerPort="389" to reflect the port you wish to use. Remember to
select a port that is not in use by any other application.
For example, to change the default Directory Server port
389 to the default
Admin Server port
8080, edit ServerPort="389" to ServerPort="8080".
4. Restart the gateway.
If the gateway is configured with the default parameters, this is done by
restarting the server:
./start-admin
Example Configuration
Parameters not in the file are set to the default value. All of the configuration
options that are currently in the document are correct and exist. The following is an
example gateway configuration for
example.com Corporation:
# DSMLGW configuration for example.com, Corporation
ServerHost=ds-internal.example.com
ServerPort=8080
BindDN=uid=fred,ou=people,dc=example,dc=com
BindPW=foo
UseAuth=false
Commenti su questo manuale