mc-server-host
This command specifies the host of the LDAP server.
Syntax
mc-server-host host
Parameters
- host
- Specifies the IP address or domain name of the server.
Guidelines
The mc-server-host command specifies the IP address or domain name of the credentials server.
This command is relevant only in the following situation:
- LDAP search is enabled with the mc-ldap-search command
- When the credentials mapping method, as defined with the mc-method command,
is
local
orxmlfile
.
This command is mutually exclusive with the mc-loadbalancer-group command.
Beyond the LDAP server to search for the group name, use the following commands to complete the configuration.
- The mc-server-port command to specify the listening port on the LDAP server
- Optionally associate an SSL proxy profile with the mc-ldap-sslproxy command to secure communication with the LDAP server
- Specify the login DN to access the LDAP server with the mc-ldap-bind-dn command
- Specify the user's password with the mc-ldap-bind-password command
- Optionally associate LDAP search parameters with the mc-ldap-parameters command
Example
Use a local XML file to map credentials and search the LDAP retrieve the distinguished name.
# mc-method xmlfile
# mc-info-url local:///RBM-MC.xml
# mc-ldap-search on
# mc-server-host ldap.mydomain.com
# mc-server-port 389
# mc-ldap-bind-dn "cn=proxyuser"
# mc-ldap-bind-password p@Ssw0rd
# mc-ldap-parameters ldap1-MC