The ldap-server authentication manager command configures the administrator DN and password of an LDAP authentication server.
The undo ldap-server authentication manager command deletes the administrator DN and password of an LDAP authentication server.
By default, no administrator DN and password are configured for an LDAP authentication server.
ldap-server authentication manager manager-dn [ password [ repassword ] ]
undo ldap-server authentication manager
Parameter |
Description |
Value |
|---|---|---|
manager-dn |
Specifies the administrator DN of an LDAP authentication server. |
When manager-dn does not contain spaces, the value is a string of 1 to 63 characters. When manager-dn contains spaces, the value is a string of 3 to 65 characters and must be enclosed in double quotation marks (""), for example, "cn=test manager,cn=users".In dual-device hot standby scenarios, the value cannot contain %. This parameter must be used together with the ldap-server authentication manager-with-base-dn enable command. For example, if the administrator account is under Base DN example.com and belongs to the users group, set the administrator DN to either of the following values:
NOTE:
|
password |
Specifies the administrator password of an LDAP authentication server. |
The value is a string of 1 to 31 characters in simple text or 68 characters in cipher text. The simple text string cannot contain & or ". The system saves this simple text string to the configuration file in cipher text. A simple text string of 1 to 16 characters is converted into a 48-byte cipher text string; a simple text string of 17 to 31 characters is converted into a 68-byte cipher text string. NOTICE:
For security purposes, it is recommended that the administrator password meet the minimum complexity requirements. That is, it needs to contain at least three types of the following characters: uppercase letters, lowercase letters, digits (0 to 9), and special characters such as exclamation points (!), at signs (@), number signs (#), dollar signs ($), and percent signs (%), and contain at least 8 characters. |
repassword |
Re-enters the administrator password. |
The value must be the same as that of password. |
To configure the administrator DN and password of an LDAP authentication server, run the ldap-server authentication manager command. If the ldap-server authentication manager-anonymous enable command has been executed to allow anonymous access to the LDAP server, the configuration will be deleted after the ldap-server authentication manager command is run.