<?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: Python SDK Access HTTP XML Authentication failed in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102854#M1436</link>
    <description>&lt;P&gt;I am trying to connect to a filer and get back storage information like volume, xtree, aggregate, etc. In order to do so, I am posting xml via http and the url provided is structure like this (/servlets/netapp.servlets.admin.XMLrequest_filer) according to the docs.&amp;nbsp;Are you posting xml at all?&amp;nbsp;How do you set options on the filer, perhaps there is something there I am missing.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Apr 2015 13:35:03 GMT</pubDate>
    <dc:creator>GRC</dc:creator>
    <dc:date>2015-04-07T13:35:03Z</dc:date>
    <item>
      <title>Python SDK Access HTTP XML Authentication failed</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102531#M1428</link>
      <description>&lt;P&gt;I am having issues moving a Python tool I wrote using the&amp;nbsp;Netapp Manageability SDK from the default admin user 'root' to a new user with only specifc Capabilities enabled. &amp;nbsp;As the 'root" user the tool works fine. But any time &amp;nbsp;I change the connection to another user I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;EM&gt;HTTPPool03:warning]: HTTP XML Authentication failed from xxx.xxx.xxx.xxx&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the API call returns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;EM&gt;Authorization failed&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Per the KB articles and other posts I have read I have all of the following options on the filer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;httpd.access legacy&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;httpd.admin.access legacy&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;httpd.admin.enable on&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;httpd.admin.hostsequiv.enable off&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;httpd.admin.ssl.enable on&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I added the&amp;nbsp;login-http-admin capability to the role I created for this tool. The role also contains a list of the api-* capabilities that are required for the tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is how I created the user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;useradmin role add&amp;nbsp;tool_role&amp;nbsp;-a login-http-admin,api-volume-list-info,etc....&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;useradmin group add tool_client_group -r tool_role&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;useradmin user add user1 -g&amp;nbsp;&lt;SPAN&gt;tool_client_group&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to reset the password a few times.. Even if I set the role Capabilities to login-*,api-* I get the same error so I do not believe its related to Capabilties but then again I feel like I am missing something very simple either in options. or the RBAC to make this work as a less priveledged user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:42:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102531#M1428</guid>
      <dc:creator>devinkramer</dc:creator>
      <dc:date>2025-06-05T04:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Python SDK Access HTTP XML Authentication failed</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102832#M1434</link>
      <description>&lt;P&gt;Prior to your modifications, were you able to get a response after posting xml? If so are you posting to the servlets/netapp.servlets.admin.XMLrequest_file? Haven't been able to find anything specific to the servlets and was curious. Should there be a servlets directory after installing OnTap?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2015 00:42:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102832#M1434</guid>
      <dc:creator>GRC</dc:creator>
      <dc:date>2015-04-07T00:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python SDK Access HTTP XML Authentication failed</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102833#M1435</link>
      <description>&lt;P&gt;Not sure which modifications you are refering to? &amp;nbsp;Before I set the options correctly on the filer the SDK was not able to connect at all, but once I had those correct any API call I made worked &amp;nbsp;fine with the "root" user. &amp;nbsp;I did not intially attempt with any other user until I had spent some time learning how to use the SDK. &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont see any reference to a servlet directory in the docs or in the filers root volume? &amp;nbsp;Can you clarify what you mean?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2015 01:08:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102833#M1435</guid>
      <dc:creator>devinkramer</dc:creator>
      <dc:date>2015-04-07T01:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python SDK Access HTTP XML Authentication failed</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102854#M1436</link>
      <description>&lt;P&gt;I am trying to connect to a filer and get back storage information like volume, xtree, aggregate, etc. In order to do so, I am posting xml via http and the url provided is structure like this (/servlets/netapp.servlets.admin.XMLrequest_filer) according to the docs.&amp;nbsp;Are you posting xml at all?&amp;nbsp;How do you set options on the filer, perhaps there is something there I am missing.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:35:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Python-SDK-Access-HTTP-XML-Authentication-failed/m-p/102854#M1436</guid>
      <dc:creator>GRC</dc:creator>
      <dc:date>2015-04-07T13:35:03Z</dc:date>
    </item>
  </channel>
</rss>

