Usage guidelines
The administrator DN specified on the device must be consistent with that configured on the LDAP server.
If you change the administrator DN, the change is effective only for LDAP authentication that occurs after
your change.
Examples
# Specify the administrator DN as uid=test, ou=people, o=example, c=city.
<Sysname> system-view
[Sysname] ldap server ldap1
[Sysname-ldap-server-ldap1] login-dn uid=test,ou=people,o=example,c=city
Related commands
display ldap scheme
login-password
Use login-password to configure the administrator password for binding with the LDAP server during
LDAP authentication.
Use undo login-password to restore the default.
Syntax
login-password { cipher | simple } password
undo login-password
Default
No administrator password is configured.
Views
LDAP server view
Predefined user roles
network-admin
Parameters
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password string. This argument is case sensitive. If simple is specified, it must be
a string of 1 to 128 characters. If cipher is specified, it must be a ciphertext string of 1 to 201 characters.
Usage guidelines
This command is effective only after the login-dn command is configured.
For security purpose, all passwords, including passwords configured in plain text, are saved in cipher
text.
87