152
[Sysname-ldap-map-map1] map ldap-attribute memberof prefix cn= delimiter , aaa-attribute
user-group
Related commands
ldap attribute-map
user-group
protocol-version
Use
protocol-version
to specify the LDAP version.
Use
undo protocol-version
to restore the default.
Syntax
protocol-version
{
v2
|
v3
}
undo protocol-version
Default
The LDAP version is LDAPv3.
Views
LDAP server view
Predefined user roles
network-admin
mdc-admin
Parameters
v2
: Specifies the LDAP version LDAPv2.
v3
: Specifies the LDAP version LDAPv3.
Usage guidelines
For successful LDAP authentication, the LDAP version used by the device must be consistent with
the version used by the LDAP server.
If you change the LDAP version, the change is effective only on the LDAP authentication that occurs
after the change.
A Microsoft LDAP server supports only LDAPv3.
Examples
# Specify the LDAP version as LDAPv2 for LDAP server
ccc
.
<Sysname> system-view
[Sysname] ldap server ccc
[Sysname-ldap-server-ccc] protocol-version v2
Related commands
display ldap scheme
search-base-dn
Use
search-base-dn to
specify the base DN for user search.
Use
undo search-base-dn
to restore the default.