<?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: Authorization failed: Post authorization status = FAIL in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281985#M405133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey you point me to the right direction! I finally got it figured out! I do have &lt;SPAN style="color: #0000ff;"&gt;cisco-avpair = "shell:priv-lvl=15"&lt;/SPAN&gt; for some users and &lt;SPAN style="color: #0000ff;"&gt;cisco-avpair = "shell:priv-lvl=1"&lt;/SPAN&gt; for the rest. I tried &lt;SPAN style="color: #0000ff;"&gt;Service-Type = Administrative&lt;/SPAN&gt; but the server doesn't take so I tried another attribute &lt;SPAN style="color: #0000ff;"&gt;Service-Type = NAS-Prompt-User&lt;/SPAN&gt; and now it worked beautifully! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Dec 2009 21:44:34 GMT</pubDate>
    <dc:creator>Difan Zhao</dc:creator>
    <dc:date>2009-12-01T21:44:34Z</dc:date>
    <item>
      <title>Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281976#M405114</link>
      <description>&lt;P&gt;I am struggling to configure a 2960 switch to use Radius server for authentication and authorization. Here is my config on the switch:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;aaa new-model&lt;BR /&gt;aaa authentication login default group radius local&lt;BR /&gt;aaa authorization exec default group radius local&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;radius-server host 1.1.1.1 auth-port 1812 acct-port 1813&lt;BR /&gt;radius-server source-ports 1645-1646&lt;BR /&gt;radius-server key 7 XXXXXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try telnet in, I got this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Username: dzhao&lt;BR /&gt;Password:&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;% Authorization failed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disable exec authorization (&lt;SPAN style="color: #0000ff;"&gt;aaa authorization exec default none&lt;/SPAN&gt;), I can log in fine so the Radius server should be ok. I also have a 3750 switch with EXACTLY same configuration and that one works great!!! The reason why I want to also authorize against the Radius server is because on my Radius server I give certain users privilege 15 and others 1. It works great on the 3750. When you login with a user with privilege 15, I am in "#" mode directly, while if I login with privilege 1, I only see "&amp;gt;" prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the aaa authorization debug output on the 2960:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;*May 31 11:14:31.733 UTC: AAA: parse name=tty2 idb type=-1 tty=-1&lt;BR /&gt;*May 31 11:14:31.733 UTC: AAA: name=tty2 flags=0x11 type=5 shelf=0 slot=0 adapter=0 port=2 channel=0&lt;BR /&gt;*May 31 11:14:31.733 UTC: AAA/MEMORY: create_user (0x1827838) user='NULL' ruser='NULL' ds0=0 port='tty2' rem_addr='10.2.92.128' authen_type=ASCII service=LOGIN priv=1 initial_task_id='0', vrf= (id=0)&lt;BR /&gt;*May 31 11:14:34.409 UTC: tty2 AAA/AUTHOR/EXEC (4276254300): Port='tty2' list='' service=EXEC&lt;BR /&gt;*May 31 11:14:34.409 UTC: AAA/AUTHOR/EXEC: tty2 (4276254300) user='dzhao'&lt;BR /&gt;*May 31 11:14:34.409 UTC: tty2 AAA/AUTHOR/EXEC (4276254300): send AV service=shell&lt;BR /&gt;*May 31 11:14:34.409 UTC: tty2 AAA/AUTHOR/EXEC (4276254300): send AV cmd*&lt;BR /&gt;*May 31 11:14:34.409 UTC: tty2 AAA/AUTHOR/EXEC (4276254300): found list "default"&lt;BR /&gt;*May 31 11:14:34.409 UTC: tty2 AAA/AUTHOR/EXEC (4276254300): Method=radius (radius)&lt;BR /&gt;*May 31 11:14:34.409 UTC: AAA/AUTHOR (4276254300): &lt;SPAN style="color: #ff0000;"&gt;Post authorization status = FAIL&lt;/SPAN&gt;&lt;BR /&gt;*May 31 11:14:34.409 UTC: AAA/AUTHOR/EXEC: &lt;SPAN style="color: #ff0000;"&gt;Authorization FAILED&lt;/SPAN&gt;&lt;BR /&gt;*May 31 11:14:36.414 UTC: AAA/MEMORY: free_user (0x1827838) user='dzhao' ruser='NULL' port='tty2' rem_addr='10.2.92.128' authen_type=ASCII service=LOGIN priv=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the debug output on the 3750 (a lot less somehow!!!!)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;*Mar 25 16:50:41.096: AAA/BIND(0000001D): Bind i/f&lt;BR /&gt;*Mar 25 16:50:43.730: AAA/AUTHOR/EXEC(0000001D): processing AV priv-lvl=15&lt;BR /&gt;*Mar 25 16:50:43.738: AAA/AUTHOR/EXEC(0000001D): Authorization successful&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am VERY frustrated here... Please help me out!! Thank you!!&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 23:49:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281976#M405114</guid>
      <dc:creator>Difan Zhao</dc:creator>
      <dc:date>2019-03-10T23:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281977#M405115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; which server are you using microsoft radius or ACS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Nov 2009 01:22:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281977#M405115</guid>
      <dc:creator>minkumar</dc:creator>
      <dc:date>2009-11-28T01:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281978#M405117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;This is actually the default behaviour. If you have exec authorization enabled on the NAD and configured user with privlege 1 on the radius server, the user won't able to jump directly to privlege exec mode, user has to go via enable password. Now as we are getting &lt;STRONG&gt;% authorization failed&lt;/STRONG&gt; for user who has privlege 1 it indicates that we haven't specified &lt;STRONG&gt;enable password&lt;/STRONG&gt; on the devices/router.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;The Post Authorization Status = FAIL message means that the user has not met the criteria contained in the applicable authentication/authorization database to be successfully authenticated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Please ensure that we have enable password created on the device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;JK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Plz rate helpful posts-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 15:25:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281978#M405117</guid>
      <dc:creator>Jatin Katyal</dc:creator>
      <dc:date>2009-11-30T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281979#M405119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ahhh... it's FreeRadius running on Linux. I also tried debug on the radius server and for both the not-working and the working ones, the messages are exactly the same. I also captured the packets. The request from the switches, the orders of the attributes are different. The reply messages are the same too. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 22:33:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281979#M405119</guid>
      <dc:creator>Difan Zhao</dc:creator>
      <dc:date>2009-11-30T22:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281980#M405121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey JK I have both "enable secret" and "enable password" created on the switch&lt;SPAN style="background-color: #f8fafd;"&gt; and still no go... Thanks for reply!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 22:37:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281980#M405121</guid>
      <dc:creator>Difan Zhao</dc:creator>
      <dc:date>2009-11-30T22:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281981#M405123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are looking for...that few users should have limited access and other should have full access can be only be achieved by command authorization. With exec authorization users having privlege less then 15 will not able to login.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you remove exec authorization and enable password then also you will see similar error...that was what I thought last time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"aaa authorization exec"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runs authorization to determine if the user is allowed to run an EXEC shell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 class="title-page"&gt;ACS Shell Command Authorization Sets on IOS &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;( This is how it works with Cisco ACS/TACACS)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/H2&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/en/US/products/sw/secursw/ps2086/products_configuration_example09186a00808d9138.shtml#scenario1"&gt;http://www.cisco.com/en/US/products/sw/secursw/ps2086/products_configuration_example09186a00808d9138.shtml#scenario1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command authorization only works with tacacs since you have free radius server we can't go for command authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;JK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 18:25:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281981#M405123</guid>
      <dc:creator>Jatin Katyal</dc:creator>
      <dc:date>2009-12-01T18:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281982#M405125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However the authorization does work on switch with newer IOS. I tested it on another 2960 switch with different level of firmwares and I found that firmware level higher than 12.2(44) does support user to get in enable mode directly. The debug information for authorzation is a lot shorter on that switch as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question about EXEC shell. What is it exactly? My understanding is that as long as you can login and it gives me a command window to put in commands, I have a EXEC shell open. If it's true, then "switch&amp;gt;" prompt is an EXEC shell as well? Or only the enable mode "switch#" is called an EXEC shell? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 18:37:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281982#M405125</guid>
      <dc:creator>Difan Zhao</dc:creator>
      <dc:date>2009-12-01T18:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281983#M405127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="content"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When connecting to CLI we are authenticating the login to the EXEC session, if we want to connect to a higher Exec mode, then authorization must be configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are a couple of old documents that might help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXEC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Command line session to the router (could be&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console, modem, or telnet)&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/warp/cpropub/45/tutorial.htm"&gt;http://www.cisco.com/warp/cpropub/45/tutorial.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Understanding Cisco IOS Command Modes&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.ciscosystems.ch/en/US/docs/ios/12_0/configfun/configuration/guide/fcui.html#wp2355"&gt;http://www.ciscosystems.ch/en/US/docs/ios/12_0/configfun/configuration/guide/fcui.html#wp2355&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 19:39:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281983#M405127</guid>
      <dc:creator>ansalaza</dc:creator>
      <dc:date>2009-12-01T19:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281984#M405130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure your Radius Policy is configured to send the&lt;/P&gt;&lt;PRE&gt;cisco-avpair = "shell:priv-lvl=15"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please also try:&lt;BR /&gt;Service-Type = Administrative&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a different policy for each Switch?&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 20:01:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281984#M405130</guid>
      <dc:creator>ansalaza</dc:creator>
      <dc:date>2009-12-01T20:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization failed: Post authorization status = FAIL</title>
      <link>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281985#M405133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey you point me to the right direction! I finally got it figured out! I do have &lt;SPAN style="color: #0000ff;"&gt;cisco-avpair = "shell:priv-lvl=15"&lt;/SPAN&gt; for some users and &lt;SPAN style="color: #0000ff;"&gt;cisco-avpair = "shell:priv-lvl=1"&lt;/SPAN&gt; for the rest. I tried &lt;SPAN style="color: #0000ff;"&gt;Service-Type = Administrative&lt;/SPAN&gt; but the server doesn't take so I tried another attribute &lt;SPAN style="color: #0000ff;"&gt;Service-Type = NAS-Prompt-User&lt;/SPAN&gt; and now it worked beautifully! Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2009 21:44:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authorization-failed-post-authorization-status-fail/m-p/1281985#M405133</guid>
      <dc:creator>Difan Zhao</dc:creator>
      <dc:date>2009-12-01T21:44:34Z</dc:date>
    </item>
  </channel>
</rss>

