104
login-dn
Use login-dn to specify the administrator DN.
Use undo login-dn to remove the configuration.
Syntax
login-dn dn-string
undo login-dn
Default
No administrator DN is specified.
Views
LDAP server view
Predefined user roles
network-admin
Parameters
dn-string: Administrator DN for binding with the server, a case-insensitive string of 1 to 255 characters.
Usage guidelines
The administrator DN specified on the device must be consistent with the administrator DN 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.