<?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: Splunk DB Connect 2: Why am I getting &amp;quot;This driver is not configured for integrated authentication&amp;quot; trying to validate connection with my SQL database? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275351#M32143</link>
    <description>&lt;P&gt;hahaha yes indeed the sales rep would - god love 'em:)&lt;BR /&gt;
Actually just a bit more on this, when i click the query tab in explorer from the validated connection I can run a query and display data from the database so i think this is good enough.  DB Connect 2 is a little bit different to DB1 but I may be able to connect the query output to some lookups and so forth to "enrich" the data as i have done previously in DB1.&lt;BR /&gt;
All good.  Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Dec 2015 06:45:26 GMT</pubDate>
    <dc:creator>Binway</dc:creator>
    <dc:date>2015-12-10T06:45:26Z</dc:date>
    <item>
      <title>Splunk DB Connect 2: Why am I getting "This driver is not configured for integrated authentication" trying to validate connection with my SQL database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275347#M32139</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have installed Splunk DB Connect 2 and am trying to connect to my SQL Server database.  Both Splunk and SQL Server are running on my local machine.  I followed the DB Connect 2 instructions and am trying to use the Windows Authentication process.&lt;/P&gt;

&lt;P&gt;I have created an Identity and Connection, but when I validate the connection, I get the "Internal Server Error" message.  I can read the log in Splunk by running the code &lt;CODE&gt;index=_internal source=*dbx2.log&lt;/CODE&gt; and I get this message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Validating connection with URL [jdbc:sqlserver://localhost:1433;databaseName=northwind;selectMethod=cursor;integratedSecurity=true] failed: java.sql.SQLException:java.sql.SQLException: Cannot create PoolableConnectionFactory (This driver is not configured for integrated authentication.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not sure what this means as I am certain I followed the steps to install the correct library so that it will use integrated authentication.&lt;/P&gt;

&lt;P&gt;Any thoughts would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 10:32:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275347#M32139</guid>
      <dc:creator>Binway</dc:creator>
      <dc:date>2015-12-09T10:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: Why am I getting "This driver is not configured for integrated authentication" trying to validate connection with my SQL database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275348#M32140</link>
      <description>&lt;P&gt;There are a few different resources that seem to be related:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://answers.splunk.com/answers/234258/db-connect-2-connection-is-not-using-integrated-au.html"&gt;https://answers.splunk.com/answers/234258/db-connect-2-connection-is-not-using-integrated-au.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://blogs.msdn.com/b/jdbcteam/archive/2007/06/18/com-microsoft-sqlserver-jdbc-sqlserverexception-this-driver-is-not-configured-for-integrated-authentication.aspx"&gt;http://blogs.msdn.com/b/jdbcteam/archive/2007/06/18/com-microsoft-sqlserver-jdbc-sqlserverexception-this-driver-is-not-configured-for-integrated-authentication.aspx&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 09 Dec 2015 15:09:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275348#M32140</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-12-09T15:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: Why am I getting "This driver is not configured for integrated authentication" trying to validate connection with my SQL database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275349#M32141</link>
      <description>&lt;P&gt;Thanks for the info.  I got past this issue by enabling the sql server sa account and changing from the " with windows authentication" driver to the one without.  The connection now validates.  Unfortunately I am using the "free" license and get the error in the log that says this license can't run "the requested action".  So my demo tomorrow will not include a database connection part.&lt;BR /&gt;
Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 06:27:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275349#M32141</guid>
      <dc:creator>Binway</dc:creator>
      <dc:date>2015-12-10T06:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: Why am I getting "This driver is not configured for integrated authentication" trying to validate connection with my SQL database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275350#M32142</link>
      <description>&lt;P&gt;Splunk or SQL Server producing the error? If Splunk, I'm sure your sales rep would love to talk about a temp license for a demo. (If it goes well they could get sales)&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 06:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275350#M32142</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2015-12-10T06:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: Why am I getting "This driver is not configured for integrated authentication" trying to validate connection with my SQL database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275351#M32143</link>
      <description>&lt;P&gt;hahaha yes indeed the sales rep would - god love 'em:)&lt;BR /&gt;
Actually just a bit more on this, when i click the query tab in explorer from the validated connection I can run a query and display data from the database so i think this is good enough.  DB Connect 2 is a little bit different to DB1 but I may be able to connect the query output to some lookups and so forth to "enrich" the data as i have done previously in DB1.&lt;BR /&gt;
All good.  Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 06:45:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275351#M32143</guid>
      <dc:creator>Binway</dc:creator>
      <dc:date>2015-12-10T06:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: Why am I getting "This driver is not configured for integrated authentication" trying to validate connection with my SQL database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275352#M32144</link>
      <description>&lt;P&gt;Hi Binway,&lt;/P&gt;

&lt;P&gt;I had a similar situation. Was using Windows authentication, but it didn't work. Then I try my luck by creating a new SA account. It works perfectly. Thank you.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
Vincent&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 01:38:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275352#M32144</guid>
      <dc:creator>season88481</dc:creator>
      <dc:date>2016-02-11T01:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: Why am I getting "This driver is not configured for integrated authentication" trying to validate connection with my SQL database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275353#M32145</link>
      <description>&lt;P&gt;Update &lt;STRONG&gt;PATH&lt;/STRONG&gt; environment variable with folder location where sqljdbc_auth.dll is located.&lt;/P&gt;

&lt;P&gt;After this you would observe another issue. Splunk would not pick right user name from the connection. In my case it picked [host name]$ &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;SOLUTION&lt;/STRONG&gt;&lt;BR /&gt;
Use jTDS driver.&lt;BR /&gt;
Download it from [jTDS][1].&lt;BR /&gt;
Unpack the zip and copy jtds-1.3.1.jar to C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\bin\lib&lt;BR /&gt;
Restart splunk server&lt;/P&gt;

&lt;P&gt;[1]: &lt;A href="https://sourceforge.net/projects/jtds/files/,**SECOND" target="_blank"&gt;https://sourceforge.net/projects/jtds/files/,**SECOND&lt;/A&gt; :**&lt;BR /&gt;
You should &lt;STRONG&gt;use jTDS driver&lt;/STRONG&gt; to resolve this issue. Looks like Micorsoft Driver is not supported by Splunk for this scenario.&lt;/P&gt;

&lt;P&gt;I tried it with good configuration but I observed splunk picking wrong user name and not the user name provided in the connections (splunk server host name) while connecting to SQL Server.&lt;/P&gt;

&lt;P&gt;Download jTDS drivers from : &lt;A href="https://sourceforge.net/projects/jtds/files/" target="_blank"&gt;https://sourceforge.net/projects/jtds/files/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Unzip the packages and place the jtds-1.3.1.jar in C:\Program Files\Splunk\etc\apps\splunk_app_db_connect\bin\lib&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;FIRST :&lt;/STRONG&gt;&lt;BR /&gt;
&lt;STRONG&gt;To resolve your error :&lt;/STRONG&gt;  Makesure that the PATH variable is set to folder where sqljdbc_auth.dll exists ( careful about x86 and x64).&lt;BR /&gt;
After doing this, you would run into another issue as described above. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:11:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275353#M32145</guid>
      <dc:creator>avsnarayan</dc:creator>
      <dc:date>2020-09-29T09:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk DB Connect 2: Why am I getting "This driver is not configured for integrated authentication" trying to validate connection with my SQL database?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275354#M32146</link>
      <description>&lt;P&gt;Thanks Avsnarayan, this solution worked fort me as well. Splunk DB connect is installed on a RHEL 6.7 server and was trying to connect to MS SQL server on Windows. the jTDS driver worked over the driver available from Microsoft (still giving errors).&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 18:41:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-DB-Connect-2-Why-am-I-getting-quot-This-driver-is-not/m-p/275354#M32146</guid>
      <dc:creator>nmohammed</dc:creator>
      <dc:date>2016-12-28T18:41:09Z</dc:date>
    </item>
  </channel>
</rss>

