© Copyright Lenovo 2017
Table 155.
LDAP Server Configuration Options (continued)
Command Syntax and Usage
ldapserver bindmode {login|preconfig|sasl}
Configures the bind request method used by the LDAP client for
authentication. It also configures the LDAP version used. The LDAP server
will allow only authenticated LDAP clients to search or retrieve directory
entries stored on the server.
login ‐ configures the switch to use login credentials when sending a bind
request. The LDAP client will construct a DN using the username and other
fields, such as the domain name or the user search attribute.
preconfig ‐ configures the switch to use credentials specified via the
ldapserver binddn command when sending a bind request.
sasl ‐ configures the switch to use Simple Authentication and Secure Layer
(SASL) when sending a bind request.
The default bind request method is login.
Note: This option is available only in LDAP enhanced mode.
Command mode: Global configuration
ldapserver binddn {dn <1‐64 characters>|key <1‐32 characters>}
Configures a customized distinguished name (DN) and password. This creates
a set of pre‐configured credentials that can be used for authentication when
sending a bind request to the LDAP server.
Note: The credentials configured through this command are used only when
the switch bind mode is set to preconfig. If the bind mode is set to login,
any credentials configured through this command are ignored.
Note: This option is available only in LDAP enhanced mode.
Command mode: Global configuration
no ldapserver binddn
Deletes the pre‐configured credentials.
Note: This option is available only in LDAP enhanced mode.
Command mode: Global configuration
ldapserver domain <1‐128 characters>
Sets the domain name for the LDAP server. Enter the full path for your
organization. For example:
ou=people,dc=mydomain,dc=com
Note: This option is available only in LDAP legacy mode.
Command mode: Global configuration
no ldapserver domain
Removes the LDAP server domain name.
Command mode: Global configuration
Chapter 4: Configuration Commands
365