You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Event-Driven Servers
Hello everybody,
I'm looking to configure AAA with TACACS+ for Cisco MDS9100 SAN
switches. According to Cisco configuration guides, upon successful
authentication the tac_plus server should return an AV pair that will
be used for command authorization. Cisco describes it as cisco-av-
pair=shell:roles="network-admin" and there is also an example in
tac_plus documentation on how this should be used.
The relevant part of my tac_plus.conf file looks like this :
group = telecom-admin {
default service = permit
service = shell {
default command = permit
double-quote-values = yes
shell:roles="network-admin"
}
}
However when tac_plus daemon is parsing the config file, it fails with
the following error message :
'shell:roles' unexpected
I tried to add cisco-av-pair= in front of it but the parsing still
fails with 'cisco-av-pair' unexpected
Am I doing something wrong here ?
Any idea will be appreciated.
Thanks
Marc Huber
unread,
May 25, 2012, 5:53:34 AM5/25/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to event-driv...@googlegroups.com
Hi,
On Friday, May 25, 2012 3:44:56 AM UTC+2, nilie wrote:
group = telecom-admin {
default service = permit
service = shell {
default command = permit
double-quote-values = yes
shell:roles="network-admin"
}
}
the "set" keyword is mandatory here. try
set shell:roles="network-admin"
Cheers,
Marc
nilie
unread,
May 27, 2012, 11:45:42 PM5/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Event-Driven Servers
Thank you very much, Marc, this solved my problem.
Also a note for those who would like to use tac_plus for Cisco MDS SAN
switches, I had to add "pap backend = mavis" in order to make it work
since MDS is using pap by default for authentication.