<?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>question MSSQL Connection using Windows Authentication in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/MSSQL-Connection-using-Windows-Authentication/m-p/385927#M245887</link>
    <description>&lt;P&gt;How can I establish connection with MSSQL using DBCPconnectionpool if I have windows authentication. I tried adding integratedSecurity = true in the connection URL but it didn't work.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 08:01:51 GMT</pubDate>
    <dc:creator>Ytch</dc:creator>
    <dc:date>2024-04-03T08:01:51Z</dc:date>
    <item>
      <title>MSSQL Connection using Windows Authentication</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MSSQL-Connection-using-Windows-Authentication/m-p/385927#M245887</link>
      <description>&lt;P&gt;How can I establish connection with MSSQL using DBCPconnectionpool if I have windows authentication. I tried adding integratedSecurity = true in the connection URL but it didn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 08:01:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MSSQL-Connection-using-Windows-Authentication/m-p/385927#M245887</guid>
      <dc:creator>Ytch</dc:creator>
      <dc:date>2024-04-03T08:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: MSSQL Connection using Windows Authentication</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MSSQL-Connection-using-Windows-Authentication/m-p/386110#M245947</link>
      <description>&lt;P&gt;Since NiFi runs on Linux, you have to use Kerberos as a security Auth when connecting from Nifi to MSSQL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/connect/jdbc/using-kerberos-integrated-authentication-to-connect-to-sql-server?view=sql-server-ver16&amp;amp;source=recommendations" target="_blank"&gt;https://learn.microsoft.com/en-us/sql/connect/jdbc/using-kerberos-integrated-authentication-to-connect-to-sql-server?view=sql-server-ver16&amp;amp;source=recommendations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DBCPconnectionpool has to use the following&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;jdbc:sqlserver://URL:port;domain=&amp;lt;Domianame &amp;gt;;databasename=&amp;lt;DBNAME &amp;gt;;authenticationScheme=JavaKerberos;TrustServerCertificate=True;integratedSecurity=true&lt;/P&gt;&lt;P&gt;with KerberosPasswordUserService controller&amp;nbsp; to set the Kerberos username Principal and password&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 13:28:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MSSQL-Connection-using-Windows-Authentication/m-p/386110#M245947</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2024-04-04T13:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: MSSQL Connection using Windows Authentication</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MSSQL-Connection-using-Windows-Authentication/m-p/386120#M245951</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106156"&gt;@Ytch&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;The way I was able to get to work is through the following instruction:&lt;/P&gt;&lt;P&gt;1- After you have download the jdbc drive from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15" target="_blank"&gt;https://learn.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you should be able to find the following dll "mssql-jdbc_auth-8.2.2.x64.dll" under the path:&lt;/P&gt;&lt;P&gt;..\sqljdbc_8.2\enu\auth\x64&lt;/P&gt;&lt;P&gt;2- Copy the dll and place under the JAVA Home path bin folder:&lt;/P&gt;&lt;P&gt;.. \Java\jdk-21\bin&lt;/P&gt;&lt;P&gt;3- Adjust the DB Connection URL in the DBCPconnectionpool&amp;nbsp; controller service by adding and setting "integrated security"&amp;nbsp; flag to true:&lt;/P&gt;&lt;P&gt;jdbc:sqlserver://{SQL SEVER NAME};databaseName={DB NAme}&lt;STRONG&gt;;integratedSecurity=true;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4- Restart Nifi&lt;/P&gt;&lt;P&gt;If that helps please accept solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 17:31:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MSSQL-Connection-using-Windows-Authentication/m-p/386120#M245951</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2024-04-04T17:31:17Z</dc:date>
    </item>
  </channel>
</rss>

