<?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: HTTP 401 -- Remote login disabled because you are using a free license which does not provide authentication. in Security</title>
    <link>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327336#M8396</link>
    <description>&lt;P&gt;Changing to the Free license &lt;EM&gt;can&lt;/EM&gt; mess things up. I've done that before and had to reinstall, but that was a few years ago, so I was hoping that problem had somehow been resolved. I don't really want to mess up my laptop setup or my production environment, but the licensing page should allow you to change the license configuration.:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://app.box.com/s/u9gj09svjv7zq6u6q4z6wgorobgepvtz" alt="I don't know why the image stuff never works for me" /&gt;&lt;/P&gt;

&lt;P&gt;If there are no &lt;CODE&gt;Change&lt;/CODE&gt; buttons after you have moved to a free license, then you probably will have to reinstall. I don't know of a solution to get around that problem.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2017 17:35:51 GMT</pubDate>
    <dc:creator>cpetterborg</dc:creator>
    <dc:date>2017-10-26T17:35:51Z</dc:date>
    <item>
      <title>HTTP 401 -- Remote login disabled because you are using a free license which does not provide authentication.</title>
      <link>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327332#M8392</link>
      <description>&lt;P&gt;I have a working task to create Java-integration with Splunk system that is used by one of our clients. So I installed Splunk trial version on my virtual machine and trying to connect to it with Java and make some test search requests.&lt;/P&gt;

&lt;P&gt;I have the following exception:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;com.splunk.HttpException: HTTP 401 --  Remote login disabled because you are &lt;BR /&gt;
using a free license which does not provide authentication. To resolve&lt;BR /&gt;
either switch to the forwarder-only license or the enterprise trial&lt;BR /&gt;
license included with the product. To override this and enable&lt;BR /&gt;
unauthenticated remote management,  edit the 'allowRemoteLogin' setting in&lt;BR /&gt;
your server.conf file.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;At first glance there are some explanations but I don't understand what should be done exactly so that I can emulate connection to real client's Splunk properly. &lt;BR /&gt;
I am absolutely new with Splunk. It is my fist efforts.&lt;/P&gt;

&lt;P&gt;My code is the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;public void connectToSplunk(){

    HttpService.setSslSecurityProtocol(SSLSecurityProtocol.TLSv1_2);

    ServiceArgs loginArgs = new ServiceArgs();
    loginArgs.setUsername("admin");
    loginArgs.setPassword("my_password");
    loginArgs.setHost("my_host");
    loginArgs.setPort(8089);
    loginArgs.setScheme("https");

            Service splunkService = Service.connect(loginArgs);
    System.out.println("Splunk service created.");

    Job job = splunkService.getJobs().create("search host=testcsv"); //at this point I have an Exception
 ...
}
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Oct 2017 11:32:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327332#M8392</guid>
      <dc:creator>kirillchokparov</dc:creator>
      <dc:date>2017-10-26T11:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 401 -- Remote login disabled because you are using a free license which does not provide authentication.</title>
      <link>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327333#M8393</link>
      <description>&lt;P&gt;The &lt;STRONG&gt;trail&lt;/STRONG&gt; and &lt;STRONG&gt;free&lt;/STRONG&gt; licenses are different. If you have converted your trial license to a free license, you loose the Enterprise only features, which is why you got the error message that you did. So your code is possibly correct, but you need to switch your license back from a free license to a trial license. If you go into &lt;STRONG&gt;Settings -&amp;gt; Licensing&lt;/STRONG&gt; you can change your license. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 12:06:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327333#M8393</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-10-26T12:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 401 -- Remote login disabled because you are using a free license which does not provide authentication.</title>
      <link>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327334#M8394</link>
      <description>&lt;P&gt;Thanks. You are right.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 12:44:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327334#M8394</guid>
      <dc:creator>kirillchokparov</dc:creator>
      <dc:date>2017-10-26T12:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 401 -- Remote login disabled because you are using a free license which does not provide authentication.</title>
      <link>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327335#M8395</link>
      <description>&lt;P&gt;The only thing: it seems I need to reinstall Splunk to get Enterprise trial license back. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 12:46:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327335#M8395</guid>
      <dc:creator>kirillchokparov</dc:creator>
      <dc:date>2017-10-26T12:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP 401 -- Remote login disabled because you are using a free license which does not provide authentication.</title>
      <link>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327336#M8396</link>
      <description>&lt;P&gt;Changing to the Free license &lt;EM&gt;can&lt;/EM&gt; mess things up. I've done that before and had to reinstall, but that was a few years ago, so I was hoping that problem had somehow been resolved. I don't really want to mess up my laptop setup or my production environment, but the licensing page should allow you to change the license configuration.:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://app.box.com/s/u9gj09svjv7zq6u6q4z6wgorobgepvtz" alt="I don't know why the image stuff never works for me" /&gt;&lt;/P&gt;

&lt;P&gt;If there are no &lt;CODE&gt;Change&lt;/CODE&gt; buttons after you have moved to a free license, then you probably will have to reinstall. I don't know of a solution to get around that problem.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 17:35:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/HTTP-401-Remote-login-disabled-because-you-are-using-a-free/m-p/327336#M8396</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-10-26T17:35:51Z</dc:date>
    </item>
  </channel>
</rss>

