03-06-2024 12:34 AM
Can I use LDAP to access the 9800 GUI / CLI?
03-06-2024 12:47 AM
Hi Toy,
Yes, you can configure LDAP authentication for accessing both the GUI and CLI on a Cisco Catalyst 9800 Series Wireless Controller.
Configure LDAP Server:
aaa group server ldap LDAP_SERVER
server X.X.X.X
ldap attribute-map MY_LDAP_MAP
Define LDAP Attribute Map:
ldap attribute-map MY_LDAP_MAP
map-name memberOf IETF-Radius-Service-Type
map-value memberOf "CN=Admins,CN=Groups,DC=example,DC=com" Admin
In this example, the attribute map MY_LDAP_MAP maps the LDAP attribute memberOf to the local role Admin for users who are members of the LDAP group CN=Admins,CN=Groups,DC=example,DC=com.
Enable AAA Authentication:
aaa new-model
aaa authentication login LDAP_AUTH group LDAP_SERVER local
Apply AAA Authentication to GUI/CLI:
*** Example for GUI
ip http authentication aaa
*** Example for CLI
line vty 0 4
login authentication LDAP_AUTH
Hope it fits your request.
03-06-2024 01:06 AM
Thanks for the feedback I will try it and provide feedback....I see you don't have any authorization method only authentication, I assume it will retrieve the relevant authorization level from the local admin role and the attribute map will be similar for local LobbyAdmin role
03-06-2024 01:31 AM - edited 03-06-2024 01:38 AM
Thank you, this is a trick to figure out the service is working or not, without engaging to security stuffs.
03-06-2024 09:43 AM
Are you sure it works for CLI @Max Jobs ?
Is this wrong?
https://www.cisco.com/c/en/us/td/docs/wireless/controller/9800/17-12/config-guide/b_wl_17_12_cg/m_secure_ldap.html
- LDAP authentication is not supported for interactive (terminal) sessions.
05-06-2024 03:53 AM
Do you perhaps have a more detailed explanation for the use of these commands:
Device(config-ldap-server)# bind authenticate root-dn CN=ldapipv6user,CN=Users,DC=ca,DC=ssh2,DC=com password Cisco12345
Device(config-ldap-server)# base-dn CN=Users,DC=ca,DC=ssh2,DC=com
specifically around the user and user groups that will be authenticated
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide