<?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: Authenticate users in my python application using RADIUS on Cisco in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507451#M571203</link>
    <description>&lt;P&gt;What part is not working? Is your code not generating RADIUS requests to send to ISE? Is it generating RADIUS traffic, but you're seeing specific errors in ISE?&lt;/P&gt;
&lt;P&gt;If you're not doing so, you would likely need to use a python module like &lt;A href="https://github.com/pyradius/pyrad" target="_blank" rel="noopener"&gt;pyrad&lt;/A&gt;, that can build and decode the RADIUS requests/responses. You would then need to add your Ubuntu box as a Network Device in ISE and specify the shared secret. The requests would likely use PAP, so you would need to build the AuthC/AuthZ policies appropriately to check against either an external Identity Store (AD, LDAP) or the internal ISE user store.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 23:31:55 GMT</pubDate>
    <dc:creator>Greg Gibbs</dc:creator>
    <dc:date>2021-11-23T23:31:55Z</dc:date>
    <item>
      <title>Authenticate users in my python application using RADIUS on Cisco ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507219#M571181</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a project where I need to authenticate&amp;nbsp;and authorize users in my python application.&lt;/P&gt;&lt;P&gt;I want to use Cisco ISE as my Radius server, but I can't get it to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know a good tutorial or know if its even possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using LDAP+ is not a option because I don't have the right&amp;nbsp;license.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&lt;BR /&gt;Jesse&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 15:31:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507219#M571181</guid>
      <dc:creator>jesse.vdk</dc:creator>
      <dc:date>2021-11-23T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate users in my python application using RADIUS on Cisco</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507245#M571183</link>
      <description>&lt;P&gt;is this to log in to the device? using Radius? can show us the code and what is not working?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 16:50:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507245#M571183</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2021-11-23T16:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate users in my python application using RADIUS on Cisco</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507315#M571190</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/286878"&gt;@balaji.bandi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make the Cisco ISE server a radius server,&lt;/P&gt;&lt;P&gt;My Python application now it running on local accounts but I want to change that so that it uses the Cisco ISE accounts for&amp;nbsp;&lt;SPAN&gt;to authenticate&amp;nbsp;and authorize users.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My code is just simple for now:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;import radius

radius.authenticate(username, password, secret, host='ISE server', port=1812)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I just don't seem to get the right Radius configuration on ISE.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help already &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Greetings,&lt;BR /&gt;Jesse&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 18:09:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507315#M571190</guid>
      <dc:creator>jesse.vdk</dc:creator>
      <dc:date>2021-11-23T18:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate users in my python application using RADIUS on Cisco</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507367#M571193</link>
      <description>&lt;P&gt;what is the use case here? is your Python device running is in ISE?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me clarify this again, is this script run against devices ? using Radius authentication, then you do not need to get connected to ISE&lt;/P&gt;
&lt;P&gt;when you connect the device, does the device automatically requests with ISE for the AAA information?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or am I missing something here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 20:11:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507367#M571193</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2021-11-23T20:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate users in my python application using RADIUS on Cisco</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507400#M571196</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/286878"&gt;@balaji.bandi&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For my internship I am creating a web portal where people can manage there own identity groups.&lt;/P&gt;&lt;P&gt;The portal talks to ise server using a REST api.&lt;/P&gt;&lt;P&gt;The script/portal is running on a Ubuntu machine and only talks to people using http and talks to ISE server using Rest API / Radius.&lt;/P&gt;&lt;P&gt;On the web portal people can log in using accounts from the ISE server.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The reason I want this is so that I don't have to use local accounts on my&amp;nbsp;Ubuntu machine.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope this helps to&amp;nbsp;clarify things.&lt;BR /&gt;&lt;BR /&gt;Thank you so much already &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Greetings Jesse&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 21:15:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507400#M571196</guid>
      <dc:creator>jesse.vdk</dc:creator>
      <dc:date>2021-11-23T21:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate users in my python application using RADIUS on Cisco</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507451#M571203</link>
      <description>&lt;P&gt;What part is not working? Is your code not generating RADIUS requests to send to ISE? Is it generating RADIUS traffic, but you're seeing specific errors in ISE?&lt;/P&gt;
&lt;P&gt;If you're not doing so, you would likely need to use a python module like &lt;A href="https://github.com/pyradius/pyrad" target="_blank" rel="noopener"&gt;pyrad&lt;/A&gt;, that can build and decode the RADIUS requests/responses. You would then need to add your Ubuntu box as a Network Device in ISE and specify the shared secret. The requests would likely use PAP, so you would need to build the AuthC/AuthZ policies appropriately to check against either an external Identity Store (AD, LDAP) or the internal ISE user store.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 23:31:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507451#M571203</guid>
      <dc:creator>Greg Gibbs</dc:creator>
      <dc:date>2021-11-23T23:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate users in my python application using RADIUS on Cisco</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507719#M571218</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/388087"&gt;@Greg Gibbs&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The code is generating traffic, but its getting no response.&lt;/P&gt;&lt;P&gt;The reason for that is that I don't really know what settings I need to enable in ISE to enable radius.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I followed this guide to implement Radius:&amp;nbsp;&lt;A href="https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/215525-use-radius-for-device-administration-wit.html" target="_blank"&gt;https://www.cisco.com/c/en/us/support/docs/security/identity-services-engine/215525-use-radius-for-device-administration-wit.html&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;But when I am implementing it, it feels like I'm taking way more steps then needed. And it feels like this guide is not trying to&amp;nbsp;accomplish the same goal as me.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I tried searching for other guides that try to&amp;nbsp;accomplish the same goal but I only found one for LDAP (I can't use this because I don't have the right license).&amp;nbsp;&lt;A href="https://dev.to/enmedina/authenticate-and-authorize-users-in-your-application-using-tacacs-with-cisco-ise-1o71" target="_blank"&gt;https://dev.to/enmedina/authenticate-and-authorize-users-in-your-application-using-tacacs-with-cisco-ise-1o71&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Do you know what settings I need to enable for radius?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;Greetings, Jesse&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 12:01:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507719#M571218</guid>
      <dc:creator>jesse.vdk</dc:creator>
      <dc:date>2021-11-24T12:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate users in my python application using RADIUS on Cisco</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507985#M571233</link>
      <description>&lt;P&gt;That is a very generic question and we couldn't possibly teach someone how ISE works in a single community post. Here are some salient points.&lt;/P&gt;
&lt;P&gt;ISE will listen for RADIUS traffic as longs as the node has the PSN persona enabled and a Base/Essentials license.&lt;/P&gt;
&lt;P&gt;For your use case, I would take the following steps from a base ISE build:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new Network Device Group (Python App) for the Ubuntu server(s)&lt;/LI&gt;
&lt;LI&gt;Add the Ubuntu python box(es) as Network Devices and assign them to the NDG&lt;/LI&gt;
&lt;LI&gt;Create a User Identity Group (Python_App_Users) and internal users as members&lt;/LI&gt;
&lt;LI&gt;Create an Allowed Protocols list that uses only PAP/ASCII&lt;/LI&gt;
&lt;LI&gt;Create an AuthZ Profile (AuthZ-Python-App) that returns an ACCESS_ACCEPT&lt;/LI&gt;
&lt;LI&gt;Create a Policy Set, AuthC Policy, and AuthZ Policy to use those elements&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-11-25 at 9.38.34 am.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/137909i9FC0BCC70DE8D9F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-11-25 at 9.38.34 am.png" alt="Screen Shot 2021-11-25 at 9.38.34 am.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-11-25 at 9.39.07 am.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/137910i71C7E2FBBB5E331D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2021-11-25 at 9.39.07 am.png" alt="Screen Shot 2021-11-25 at 9.39.07 am.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more details on these aspects, see the various resources in the &lt;A href="https://community.cisco.com/t5/security-documents/cisco-ise-amp-nac-resources/ta-p/3621621#Learn" target="_blank" rel="noopener"&gt;Learn section&lt;/A&gt; of the Community.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 22:43:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4507985#M571233</guid>
      <dc:creator>Greg Gibbs</dc:creator>
      <dc:date>2021-11-24T22:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Authenticate users in my python application using RADIUS on Cisco</title>
      <link>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4508378#M571252</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/388087"&gt;@Greg Gibbs&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&amp;nbsp;&lt;BR /&gt;This is really helpful because now I know what steps to take &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Jesse&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 14:40:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/authenticate-users-in-my-python-application-using-radius-on/m-p/4508378#M571252</guid>
      <dc:creator>jesse.vdk</dc:creator>
      <dc:date>2021-11-25T14:40:13Z</dc:date>
    </item>
  </channel>
</rss>

