12-15-2010 08:37 AM - edited 03-10-2019 05:39 PM
We recently deployed this version of ACS. Some of our devices don't allow ssh and are currently configured for telnet only. I have a service selection rule say ServiceSelection1 so that if protocol is tacacs to use TacacsAccessPolicy service. For the Identity in TacacsAccessPolicy service, I have first rule to check for specific users (User1, User2) and if the request comes for one of these, to use Internal Users store for authentication. Second rule in the service says if you're not either of these two, go to the RSA server.
The problem I'm running into at this point is that when I try to telnet to one of our devices (regardless of whether it accepts both telnet and ssh, or only telnet), if I enter User1 and the password in the internal user store, authentication fails. If I use the exact same user and pw info, to the same device, but using ssh, I'm fine. In both cases (so telnet and ssh), a user that is not User1 or User2 authenticates fine with RSA.
From ACS logs, I see that when I telnet to a device the user id and password are checked directly against RSA, thus bypassing my first rule which says if you're this user check internal users (you can see the authen failure below). However, when using ssh, ACS sends request to correct identity store and everything works fine. What am I missing? I appreciate ideas/suggestions, thank you.
Failure Reason > Authentication Failure Code Lookup | ||
| ||
Generated on:December 15, 2010 11:25:53 AM EST | ||
| ||
| ||
12-15-2010 09:37 AM
Can you show exactly your rule that Telnet is missing ? (screenshot)
And can you also show more detail about the failed authentication ?
Nicolas
12-15-2010 10:34 AM
Nicolas,
Here are the screen shots (this refers to Access Policies --> Access Services --> TacacsAccessPolicy --> Identity):
Rule 1 expanded (rule 2 is very similar, only there's a "not" and it's using ID_Sequence instead of Internal Users for identity source):
ID_Sequence just has RSA first, then internal users.
When I look at TACACS authentications, I see:
User name: User1
Device name: Device1
NDG: Device Type:All devices:Switches, Location:HDQ
Access Service: TacacsAccessPolicy
Identity Store: [see below]
Identity Group: All Groups:AdminUsers
ACS Server: ACSserver
The only thing different between attempting ssh or telnet in the TACACS authen logs is:
- Internal Users (if I tried logging in with User1 using ssh, which is correct)
- RSAserver (if I tried logging in with User1 but using telnet, and this is incorrect, per my Rule 1 in the screenshots above).
Thank you,
Alex.
12-15-2010 12:07 PM
I was able to solve this issue by adding one more rule in the access policy shown in one of the screen shots. This one says if System:UserName equals User1 or User2, use internal users for authentication. Hope this helps other people.
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