C613-50631-01 Rev A Command Reference for IE340 Series 2412
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
LIGHTWEIGHT DIRECTORY ACCESS PROTOCOL (LDAP) COMMANDS
LOGIN
-ATTRIBUTE
login-attribute
Overview Use this command to set the name of the attribute user names are stored in. The
device will search this attribute for the user’s DN (Distinguished Name).
It is only necessary to set this option if you don’t want to use the default attribute,
which is ‘uid’.
If the authentication method is ‘bind-only’, then this attribute is used as the first
component of the user DN, with the base DN added to complete the user DN.
Use the no variant of this command to reset the login attribute to the default of
‘uid’.
Syntax
login-attribute <attribute>
no login-attribute
Default uid
Mode LDAP Server Configuration
Example To set the login attribute for the LDAP server called ‘Server1’ to
‘sAMAccountName’, use the commands:
awplus# configure terminal
awplus(config)# ldap-server Server1
awplus(config-ldap-server)# login-attribute sAMAccountName
To reset the login attribute for ‘Server1’ to the default, use the commands:
awplus# configure terminal
awplus(config)# ldap-server Server1
awplus(config-ldap-server)# no login-attribute
Related
command
authentication (ldap-server)
base-dn
bind authenticate root-dn
group-attribute
group-dn
ldap-server
search-filter
Parameter Description
<attribute> The LDAP attribute to use for the username of connecting users.