<?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: HOSTS authentication problem in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14580#M1043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that input! We are planning to upgrade fairly soon to 7.3.2 so that is good news.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a question, though: if LOGIN works with hosts.equiv, what is the purpose of HOSTS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Nov 2009 16:30:50 GMT</pubDate>
    <dc:creator>kcollins</dc:creator>
    <dc:date>2009-11-06T16:30:50Z</dc:date>
    <item>
      <title>HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14512#M1029</link>
      <description>&lt;P&gt;I'm trying to use host-based authentication (h&lt;/P&gt;
&lt;P&gt;osts.equiv), but it's failing. I get the error:&lt;/P&gt;
&lt;P&gt;"User&amp;nbsp; does not have capability to invoke API quota-report."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's not clear, there are two spaces after 'User', as if it were printing a null username. Sure enough, from the log:&lt;/P&gt;
&lt;P&gt;Tue Oct 27 11:44:14 CDT [near19: useradmin.unauthorized.user:warning]: User '' denied access - missing required capability: 'api-quota-report'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I missing something?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:22:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14512#M1029</guid>
      <dc:creator>shalondwood</dc:creator>
      <dc:date>2025-06-05T07:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14517#M1030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding the user name in your code.  No need to set password, just the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in perl use the following call:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   $s-&amp;gt;set_admin_user($user, $pw);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 17:35:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14517#M1030</guid>
      <dc:creator>nagendrk</dc:creator>
      <dc:date>2009-10-27T17:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14522#M1031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Already trying that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $s-&amp;gt;set_admin_user("root", "");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought perhaps it was because we do not have a user explicitly specified in our hosts.equiv file, but adding another line which explicitly specifies root doesn't change anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried it on two filers, one running 7.2.2 and one running 7.3P6.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 17:41:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14522#M1031</guid>
      <dc:creator>shalondwood</dc:creator>
      <dc:date>2009-10-27T17:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14527#M1032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code.. it works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Nagendra K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 17:44:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14527#M1032</guid>
      <dc:creator>nagendrk</dc:creator>
      <dc:date>2009-10-27T17:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14529#M1033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm.... Failed for me, but I did have to make one change, because my test filer doesn't have HTTPS set up. Does it work for you if you use HTTP transport instead of HTTPS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 17:50:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14529#M1033</guid>
      <dc:creator>shalondwood</dc:creator>
      <dc:date>2009-10-27T17:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14534#M1034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it does.  I just added the Server IP in /etc/hosts.equiv, then invoked this script without providing user name it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hosts.equiv file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 18:15:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14534#M1034</guid>
      <dc:creator>nagendrk</dc:creator>
      <dc:date>2009-10-27T18:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14538#M1035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried adding the ip instead of the hostname to the hosts.equiv&lt;/P&gt;&lt;P&gt; file, just in case that was the problem, but got the same result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;results status="failed" reason="User&amp;nbsp; does not have capability to invoke API system-get-version." errno="13003"&amp;gt;&amp;lt;/results&amp;gt;&lt;BR /&gt;Failed: User&amp;nbsp; does not have capability to invoke API system-get-version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any sort of additional debugging I could enable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 18:20:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14538#M1035</guid>
      <dc:creator>shalondwood</dc:creator>
      <dc:date>2009-10-27T18:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14542#M1036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are logs indicating any errors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, try adding " root" in /etc/hosts.equiv and invoke the script "perl hosts_ontapi_hosts.pl 10.73.69.216 root".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 18:47:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14542#M1036</guid>
      <dc:creator>nagendrk</dc:creator>
      <dc:date>2009-10-27T18:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14548#M1037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see this in logs/ems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;LR d="27Oct2009 13:50:33" n="jackson-960" t="1256669433" id="1250085766/25568" p="4" s="OK" o="api_mpool_00" vf=""&amp;gt;&lt;BR /&gt;&amp;lt;useradmin_unauthorized_user_1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; username=""&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; capability="api-system-get-version"/&amp;gt;&lt;BR /&gt;&amp;lt;/LR&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding " root" to hosts.equiv didn't change anything. It looks like the problem is that it's not picking up the username for some reason. Is there some way to see if it's actually being sent?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 18:53:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14548#M1037</guid>
      <dc:creator>shalondwood</dc:creator>
      <dc:date>2009-10-27T18:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14554#M1038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is quite difficult to debug this way.  Try using zexplore to check things out.  Meanwhile, can you send me the piece of code and the hosts.equiv file that you are using.  Let me try that out and get back to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 19:10:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14554#M1038</guid>
      <dc:creator>nagendrk</dc:creator>
      <dc:date>2009-10-27T19:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14559#M1039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I discovered the problem -- the version of the SDK I had was 3.5P1, not 3.5.1. Updating solved the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2009 19:35:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14559#M1039</guid>
      <dc:creator>shalondwood</dc:creator>
      <dc:date>2009-10-27T19:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14563#M1040</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; I am seeing the same problem as the original poster. I have SDK 3.5.1, and I can use the "remsh" command successfully from the same system where the API is failing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cpafisc8-&amp;gt; sudo remsh cpafisnas1 version&lt;BR /&gt;NetApp Release 7.2.5.1: Wed Jun 25 08:55:16 PDT 2008&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run the script you included (after modifying to HTTP instead of HTTPS) and I get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;lt;results status="failed" reason="User&amp;nbsp; does not have capability to invoke API system-get-version." errno="13003"&amp;gt;&amp;lt;/results&amp;gt;&lt;BR /&gt;Failed: User&amp;nbsp; does not have capability to invoke API system-get-version.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have a session logged in to the console and I see this at the time the above failure occurs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;cpafisnas1&amp;gt; Wed Nov&amp;nbsp; 4 16:23:04 PST [cpafisnas1: useradmin.unauthorized.user:warning]: User '' denied access - missing required capability: 'api-system-get-version'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated... Do I need to have a license for "HTTP"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 00:26:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14563#M1040</guid>
      <dc:creator>kcollins</dc:creator>
      <dc:date>2009-11-05T00:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14568#M1041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, after having found another similar thread (&lt;A href="https://community.netapp.com/thread/4102" target="_blank"&gt;http://communities.netapp.com/thread/4102&lt;/A&gt;), I was able to resolve this problem by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$s-&amp;gt;set_style("LOGIN");&lt;BR /&gt;$s-&amp;gt;set_admin_user("root", "");&lt;/P&gt;&lt;P&gt;This seems wrong to me as the whole reason for having "HOSTS" style is to use hosts.equiv, but since this is working I'm going to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2009 23:45:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14568#M1041</guid>
      <dc:creator>kcollins</dc:creator>
      <dc:date>2009-11-05T23:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14574#M1042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a bug in ONTAP and it seems to be fixed in &lt;SPAN style="color: #0000ff;"&gt;ONTAP 7.3.2&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 06:11:47 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14574#M1042</guid>
      <dc:creator>rkiran</dc:creator>
      <dc:date>2009-11-06T06:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14580#M1043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that input! We are planning to upgrade fairly soon to 7.3.2 so that is good news.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a question, though: if LOGIN works with hosts.equiv, what is the purpose of HOSTS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 16:30:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14580#M1043</guid>
      <dc:creator>kcollins</dc:creator>
      <dc:date>2009-11-06T16:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14584#M1044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a bug also that a non-root user can &lt;SPAN style="background-color: #f8fafd;"&gt;use "LOGIN" type with "root" user and "" password and execute commands? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8fafd;"&gt;My script has:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;our $s = NaServer-&amp;gt;new($filer, 1, 1);&lt;BR /&gt;$s-&amp;gt;set_style("LOGIN");&lt;BR /&gt;$s-&amp;gt;set_admin_user("root", "");&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And in the auditlog, I see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Fri Nov&amp;nbsp; 6 09:55:33 PST [cpafisnas1: HTTPPool04:debug]: root:AUTH:error:&lt;SPAN style="color: #ff0000;"&gt;Login failed for user root from IP 146.27.78.190&lt;/SPAN&gt;. reason "User not authenticated"&lt;BR /&gt;&lt;SPAN&gt;Fri Nov&amp;nbsp; 6 09:55:33 PST [cpafisnas1: api_mpool_04:debug]: root:API:in:&amp;lt;?xml version='1.0' encoding='utf-8' ?&amp;gt;&amp;lt;!DOCTYPE netapp SYSTEM 'file:/etc/netapp_filer.dtd'&amp;gt;&amp;lt;netapp version='1.1' xmlns='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.netapp.com/filer/admin" target="_blank"&gt;http://www.netapp.com/filer/admin&lt;/A&gt;&lt;SPAN&gt;'&amp;gt;&amp;lt;system-get-version&amp;gt;&amp;lt;/system-get-version&amp;gt;&amp;lt;/netapp&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The API authentication is failing and I am still able to execute the command - not good!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior is the same on all of my systems (7.2.5.1 and 7.3.1.1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2009 18:12:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14584#M1044</guid>
      <dc:creator>kcollins</dc:creator>
      <dc:date>2009-11-06T18:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14589#M1045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your script may not work with 7.2.5 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If the host on which you enter the command is a UNIX host, the user name is optional. If you do not specify a user name, you must be root on that host to execute any command.&lt;/P&gt;&lt;P&gt;I think when HOSTS style is set, client doesn't send user credentials to the ONTAP. ONTAP defaults the&amp;nbsp; username to 'root' if it finds no user credentials sent across from client when hostequiv style authentication is enabled.If a client host name and a username is put in to /etc/hosts.equiv then this default switch is not going to happen.&lt;/P&gt;&lt;P&gt;Let us know if you still see the behaviour after upgrading to &lt;SPAN lang="EN"&gt;7.3.2&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2009 16:23:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14589#M1045</guid>
      <dc:creator>rkiran</dc:creator>
      <dc:date>2009-11-09T16:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14593#M1046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script &lt;STRONG&gt;is&lt;/STRONG&gt; working with BOTH 7.2.5.1 and 7.3.1.1, however it should be failing when not run by the root user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am reporting is that when using the "&lt;STRONG&gt;LOGIN&lt;/STRONG&gt;" style with user "&lt;STRONG&gt;root&lt;/STRONG&gt;" and a &lt;STRONG&gt;null&lt;/STRONG&gt; password, I am able to login even when the script is run as a non-root user. This means that even though my hosts.equiv specifically states "root", other users from that machine can perform functions via the API that they are not authorized to. If you see the auditlog entries from my previous message, you can see that the system is saying authorization failed but then allowing the command to run anyway!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is has serious security implications...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2009 16:30:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14593#M1046</guid>
      <dc:creator>kcollins</dc:creator>
      <dc:date>2009-11-09T16:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14598#M1047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;LOGIN&amp;nbsp; style means that API requests are going to be authenticated using HTTP Basic&amp;nbsp; authentication (ie., username and password). It really does not matter how you&amp;nbsp; logged in to the client and running this script, but what matters is what&amp;nbsp; credentials you passed in via API request. Filer does not use "/etc/hosts.equiv"&amp;nbsp; file for authenticating these kind of requests.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;To be&amp;nbsp; specific, for LOGIN style authentication, pass in a valid Filer username and&amp;nbsp; password to have authentication.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;$s-&amp;gt;set_style("LOGIN");&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;$s-&amp;gt;set_admin_user($user,&amp;nbsp; $pwd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;On the&amp;nbsp; other hand, for HOSTS style authentication, clients must execute the script&amp;nbsp; using "root" privilege to bind to any reserved port. Currently, Applications&amp;nbsp; that use SDK cannot support hosts.equiv style authentication for non-root CLIENT&amp;nbsp; users for APIs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Please&amp;nbsp; let me know if you have any questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;Suresh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 06:11:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14598#M1047</guid>
      <dc:creator>dussa</dc:creator>
      <dc:date>2009-11-17T06:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: HOSTS authentication problem</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14603#M1048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you read my previous post carefully, you will see that I have the style set to LOGIN,&lt;SPAN style="background-color: #f8fafd;"&gt; user set to "root" and password as "" (null). The auditlog clearly shows the authentication failing, but my command still runs! The command should NOT run because authentication has failed. This is a problem...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f8fafd;"&gt;Kevin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 16:53:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/HOSTS-authentication-problem/m-p/14603#M1048</guid>
      <dc:creator>kcollins</dc:creator>
      <dc:date>2009-11-17T16:53:04Z</dc:date>
    </item>
  </channel>
</rss>

