mc-server-port
This command specifies the listening port on the LDAP server.
Syntax
mc-server-port port
Parameters
- port
- Specifies the listening port on the server.
Guidelines
The mc-server-port command specifies the listening port on the LDAP 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 listening port on the LDAP server to search the LDAP for the group name, use the
following commands to complete the configuration.
- The mc-server-host command to specify 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