150
Parameters
dn-string
: Specifies the 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 on the LDAP authentication that
occurs after the change.
Examples
# Specify the administrator DN as
uid=test, ou=people, o=example, c=city
for LDAP server
ccc
.
<Sysname> system-view
[Sysname] ldap server ccc
[Sysname-ldap-server-ccc] 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
}
string
undo login-password
Default
No administrator password is configured.
Views
LDAP server view
Predefined user roles
network-admin
mdc-admin
Parameters
cipher
: Specifies a password in encrypted form.
simple
: Specifies a password in plaintext form. For security purposes, the password specified in
plaintext form will be stored in encrypted form.
string
: Specifies the password. Its plaintext form is a case-sensitive string of 1 to 128 characters. Its
encrypted form is a case-sensitive string of 1 to 201 characters.
Usage guidelines
This command is effective only after the
login-dn
command is configured.
Examples
# Specify the administrator password as
abcdefg
in plaintext form for LDAP server
ccc
.
<Sysname> system-view
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...