Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch

Rev 1.6.2
Mellanox Technologies
157
ldap login-attribute
ldap login-attribute {<string> | uid | sAMAccountName}
no ldap login-attribute
Sets the attribute name which contains the login name of the user.
The no form of the command resets this attribute to its default.
Syntax Description string Custom attribute name.
uid LDAP login name is taken from the user login user-
name.
sAMAccountName SAM Account name, active directory login name.
Default sAMAccountName
Modes/Context Config
History 3.1.0000
Role admin
Example
switch (config) # ldap login-attribute uid
switch (config) # show ldap
User base DN : ou=department,dc=example,dc=com
User search scope : subtree
Login attribute : uid
Bind DN : my-dn
Bind password : my-password
Group base DN : my-group-dn
Group attribute : member
LDAP version : 3
Referrals : yes
Server port : 389
Search Timeout : 5
Bind Timeout : 5
SSL mode : none
Server SSL port : 636 (not active)
SSL cert verify : yes
LDAP servers:
1: 10.10.10.10
2: 10.10.10.12
switch (config) #
Related Commands show aaa
show ldap
Note