<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TACACS+ and backup authentication method in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570372#M427777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad that we are making progress in understanding what is happening. So telnet works as expected but SSH does not. Would you be able to post the configuration of the router (at minimum I would like to see the aaa parts and the configuration of all vty).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2006 21:58:40 GMT</pubDate>
    <dc:creator>Richard Burts</dc:creator>
    <dc:date>2006-02-13T21:58:40Z</dc:date>
    <item>
      <title>TACACS+ and backup authentication method</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570369#M427760</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a authentication named list that has TACACS+ as the primary and "local" as the back-up method.&lt;/P&gt;&lt;P&gt;In my understanding the backup method should only be used when the TACACS+ is un-available ?&lt;/P&gt;&lt;P&gt;But what happens is that when i try to connect with a username that is defined locally on the Switch\Router and doesn't exist in the TACACS+ database, the eventual result is still successful.i.e. The TACACS+ server rejects the attempt but then the Router\Switch goes to the local authentication method and authenticates the user instead of failing the authentication.&lt;/P&gt;&lt;P&gt;When i Use RADIUS instead of TACACS+ , then it works as expected and the authentication is failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is TACACS+ supposed to work this way ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naman&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 21:28:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570369#M427760</guid>
      <dc:creator>mnlatif</dc:creator>
      <dc:date>2019-03-10T21:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: TACACS+ and backup authentication method</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570370#M427768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may depend a bit on how you have the TACACS server defined. But in general the way it is supposed to work is that if the TACACS server returns a FAIL response then the router should deny authentication and should not go to the locally configured userID and password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So part of the question becomes how the TACACS server is configured and what it does when it receives an authentication request for a userID that it does not recognize. Does it return a FAIL response or does it do something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be helpful if you would run debug tacacs authentication and debug aaa authentication, and then try the connection again. If you post the output from the debug it might give us a better understanding of what is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2006 19:36:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570370#M427768</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2006-02-13T19:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: TACACS+ and backup authentication method</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570371#M427774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;Thanks for pointing in the right direction. It seems the problem is with the connection method. When i use "telnet" then it works as expected and authentication is denied. However with SSH, it doesn't work properly and it moves to the LOCAL method , if the authentication fails through the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So with Telnet, when the password is in-correct the TACACS+ response is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;108276: Feb 13 11:57:35: AAA/AUTHEN (259252400): status = FAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However with SSH, the failed response is Error instead of Fail,so the system moves to the Local method as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;108033: Feb 13 11:55:55: TAC+: periodic timer stopped (queue empty)&lt;/P&gt;&lt;P&gt;108034: Feb 13 11:55:55: TAC+: ver=192 id=4146453995 received AUTHEN status = GETPASS&lt;/P&gt;&lt;P&gt;108035: Feb 13 11:55:55: AAA/AUTHEN (4146453995): status = GETPASS&lt;/P&gt;&lt;P&gt;108036: Feb 13 11:55:55: AAA/AUTHEN/CONT (4146453995): continue_login (user='naman')&lt;/P&gt;&lt;P&gt;108037: Feb 13 11:55:55: AAA/AUTHEN (4146453995): status = GETPASS&lt;/P&gt;&lt;P&gt;108038: Feb 13 11:55:55: AAA/AUTHEN (4146453995): Method=tacacs+ (tacacs+)&lt;/P&gt;&lt;P&gt;108039: Feb 13 11:55:55: TAC+: send AUTHEN/CONT packet id=4146453995&lt;/P&gt;&lt;P&gt;108040: Feb 13 11:55:55: TAC+: periodic timer started&lt;/P&gt;&lt;P&gt;108041: Feb 13 11:55:55: TAC+: 172.17.4.5 req=152DE8C Qd id=4146453995 ver=192 handle=0x15CCE1C (ESTAB) expire=5 AUTHEN/CONT queued&lt;/P&gt;&lt;P&gt;108042: Feb 13 11:55:55: TAC+: 172.17.4.5 ESTAB id=4146453995 wrote 23 of 23 bytes&lt;/P&gt;&lt;P&gt;108043: Feb 13 11:55:55: TAC+: 172.17.4.5 req=152DE8C Qd id=4146453995 ver=192 handle=0x15CCE1C (ESTAB) expire=4 AUTHEN/CONT sent&lt;/P&gt;&lt;P&gt;108044: Feb 13 11:55:56: %SEC-6-IPACCESSLOGP: list 141 denied udp 172.28.21.3(138) -&amp;gt; 172.28.21.127(138), 2 packets&lt;/P&gt;&lt;P&gt;108045: Feb 13 11:56:00: TAC+: 172.17.4.5 (4146453995) AUTHEN/CONT -- TIMED OUT&lt;/P&gt;&lt;P&gt;108046: Feb 13 11:56:00: TAC+: req=152DE8C Tx id=4146453995 ver=192 handle=0x15CCE1C (ESTAB) expire=0 AUTHEN/CONT processed&lt;/P&gt;&lt;P&gt;108047: Feb 13 11:56:00: TAC+: periodic timer stopped (queue empty)&lt;/P&gt;&lt;P&gt;108048: Feb 13 11:56:00: TAC+: Closing TCP/IP 0x15CCE1C connection to 172.17.4.5/49&lt;/P&gt;&lt;P&gt;108049: Feb 13 11:56:00: AAA/AUTHEN (4146453995): status = ERROR&lt;/P&gt;&lt;P&gt;108050: Feb 13 11:56:00: AAA/AUTHEN/START (4069608499): port='tty2' list='' action=LOGIN service=LOGIN&lt;/P&gt;&lt;P&gt;108051: Feb 13 11:56:00: AAA/AUTHEN/START (4069608499): Restart&lt;/P&gt;&lt;P&gt;108052: Feb 13 11:56:00: AAA/AUTHEN/START (4069608499): Method=LOCAL&lt;/P&gt;&lt;P&gt;108053: Feb 13 11:56:00: AAA/AUTHEN (4069608499): status = GETPASS&lt;/P&gt;&lt;P&gt;108054: Feb 13 11:56:00: AAA/AUTHEN/CONT (4069608499): continue_login (user='naman')&lt;/P&gt;&lt;P&gt;108055: Feb 13 11:56:00: AAA/AUTHEN (4069608499): status = GETPASS&lt;/P&gt;&lt;P&gt;108056: Feb 13 11:56:00: AAA/AUTHEN/CONT (4069608499): Method=LOCAL&lt;/P&gt;&lt;P&gt;108057: Feb 13 11:56:00: AAA/AUTHEN (4069608499): status = PASS&lt;/P&gt;&lt;P&gt;+++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\\ Naman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2006 20:03:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570371#M427774</guid>
      <dc:creator>mnlatif</dc:creator>
      <dc:date>2006-02-13T20:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: TACACS+ and backup authentication method</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570372#M427777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad that we are making progress in understanding what is happening. So telnet works as expected but SSH does not. Would you be able to post the configuration of the router (at minimum I would like to see the aaa parts and the configuration of all vty).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2006 21:58:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570372#M427777</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2006-02-13T21:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: TACACS+ and backup authentication method</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570373#M427780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the relevant config&lt;/P&gt;&lt;P&gt;+++++++++++++&lt;/P&gt;&lt;P&gt;aaa authentication login telnet group tacacs+ local&lt;/P&gt;&lt;P&gt;username naman secret 5 xxxxxxxxxxxxxxxxxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip ssh time-out 120&lt;/P&gt;&lt;P&gt;ip ssh authentication-retries 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line vty 0 4&lt;/P&gt;&lt;P&gt; access-class 1 in&lt;/P&gt;&lt;P&gt; exec-timeout 30 0&lt;/P&gt;&lt;P&gt; login authentication telnet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2006 17:15:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570373#M427780</guid>
      <dc:creator>mnlatif</dc:creator>
      <dc:date>2006-02-14T17:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: TACACS+ and backup authentication method</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570374#M427781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is quite strange. The configuration does not differentiate between authentication of telnet and SSH and I would think that the interaction between router and TACACS would be the same for telnet and SSH. But TACACS seems to be acting differently when you test SSH. When you test with telnet it seems that there is a FAIL response but the messages that you posted show that with SSH there was no response from TACACS (which is why the router used local authentication). Were you using the same userID and same password to test SSH as to test telnet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2006 17:37:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570374#M427781</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2006-02-16T17:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: TACACS+ and backup authentication method</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570375#M427789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick,&lt;/P&gt;&lt;P&gt;Exactly the same ID and password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\\ Naman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 18:55:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570375#M427789</guid>
      <dc:creator>mnlatif</dc:creator>
      <dc:date>2006-02-21T18:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: TACACS+ and backup authentication method</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570376#M427793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not understand the different processing of telnet and SSH. Would you be able to run debug tacacs packet and then do both a telent and an ssh test and post the output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2006 14:14:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-and-backup-authentication-method/m-p/570376#M427793</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2006-02-22T14:14:36Z</dc:date>
    </item>
  </channel>
</rss>

