authentication (LDAP)
To configure Lightweight Directory Access Protocol (LDAP) authentication to use the bind or compare
method, use the authentication command. To disable this configuration, use the no form of this command.
authentication {bind-first [append-with-baseDN DNstring]| compare [password-attribute password]}
no authentication {bind-first [append-with-baseDN DNstring]| compare [password-attribute password]}
Syntax Description
Sets the LDAP authentication method to bind first.bind-first
(Optional) Specifies the designated name (DN) string.
You can enter up to 63 alphanumeric characters.
append-with-baseDN DNstring
Sets the LDAP authentication method to compare.compare
(Optional) Specifies the user password. You can enter
up to 63 alphanumeric characters.
password-attribute password
Command Default
Bind method using first search and then bind
Command Modes
LDAP server group configuration
Command History
ModificationRelease
This command was introduced.5.0(2)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to configure LDAP authentication to use the compare method:
switch# conf t
switch(config)# aaa group server ldap LDAPServer1
switch(config-ldap)# server 10.10.2.2
switch(config-ldap)# authentication compare password-attribute TyuL8r
switch(config-ldap)#
Related Commands
DescriptionCommand
Creates an LDAP server group and enters the LDAP
server group configuration mode for that group.
aaa group server ldap
Cisco Nexus 7000 Series Security Command Reference    
13
A Commands
authentication (LDAP)