06-10-2020 10:35 PM
Hi Dears,
did someone meet troubles to deploy authentication of ACI using Freeradius ?
We're deploying it for a customer but ever receive "authentcation reject".
On Freeradius (owner is customer) as av-pairs we asked to configure
following, as we need only one role with full privilege.
file:/etc/freeradius/clients.conf
client *.*.*.* {
type = acct
secret = *****************
shortname = Cisco
nastype = cisco
require_message_authenticator = no
}
________________________________________
file: /etc/freeradius/users
User_User MD5-Password := ""**************************""
Service-Type = NAS-Prompt-User,
cisco-avpair = 'shell:roles=\"network-admin\"',
Cisco-avpair += "shell:domains = all/aaa/read-all(16001)",
cisco-avpair += "shell:priv-lvl=15"
User_User.aci MD5-Password := "**************************"
Cisco-avpair = "shell:domains = all/admin"
That Freeradius is already used to authenticate access to other device (Cisco too) and at begin customer tried to add av-pair to user but then He created a new user (User_User.aci) for test purpose.
Some Idea ?
Thanks in advance
Daniele
06-11-2020 08:57 PM
06-15-2020 08:50 PM
Is it possible to try the following settings?
User_User MD5-Password := ""**************************"" Service-Type = NAS-Prompt-User, cisco-avpair = 'shell:roles=\"network-admin\"', Cisco-avpair += "shell:domains = all/aaa/read-all/(16001)", cisco-avpair += "shell:priv-lvl=15" User_User.aci MD5-Password := "**************************" Cisco-avpair = "shell:domains = all/admin/(16002)"
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