Configuring the DSML Gateway
8 Red Hat Directory Server DSML Gateway • February 2005
3. Edit the value of the BindDN attribute to reflect the user for whom you are allowing
access.
For example, to change the default bindDN
anonymous to
uid=fred,ou=people,dc=example,dc=com, change the line that reads
BindDN=anonymous to BindDN=uid=fred,ou=people,dc=example,dc=com.
4. Edit the value of the BindPW attribute. The password must be the same as the
password for authentication to the directory to keep access controls functioning.
Change the line which reads
BindPW= to BindPW=foo.
5. Restart the gateway.
If the gateway is configured with the default parameters, this is done by restarting the
server:
./start-admin
Changing the Port
Edit the value of the ServerPort attribute to reflect the server you wish to use. Be sure
that this port number is not used by another application.
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="4456" 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 port from
4456 to port 5564, edit ServerPort="4456"
to
ServerPort="5564".
4. Restart the gateway.
If the gateway is configured with the default parameters, this is done by restarting the
server:
Komentarze do niniejszej Instrukcji