<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://www.xlayer.co.za/forum/extern.php?action=feed&amp;tid=20&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[SXI Forum / Windows Authentication to SQL server from Java]]></title>
		<link>https://www.xlayer.co.za/forum/viewtopic.php?id=20</link>
		<description><![CDATA[The most recent posts in Windows Authentication to SQL server from Java.]]></description>
		<lastBuildDate>Tue, 12 Jan 2021 13:01:49 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Windows Authentication to SQL server from Java]]></title>
			<link>https://www.xlayer.co.za/forum/viewtopic.php?pid=196#p196</link>
			<description><![CDATA[<p>Here is an example:</p><div class="codebox"><pre><code>&lt;Connector id=&quot;XlayerDB&quot; type=&quot;DB&quot;&gt;
      &lt;Connection xsi:type=&quot;sxi:MSSQL&quot;&gt;
        &lt;sxi:Server&gt;127.0.0.1&lt;/sxi:Server&gt;
        &lt;sxi:User&gt;myuser&lt;/sxi:User&gt;
        &lt;sxi:Password&gt;secret&lt;/sxi:Password&gt;
        &lt;sxi:RetryDelay&gt;10&lt;/sxi:RetryDelay&gt;
        &lt;sxi:DBName&gt;SomeDB&lt;/sxi:DBName&gt;
        &lt;sxi:Properties&gt;
          &lt;sxi:Property name=&quot;useNTLMv2&quot; value=&quot;true&quot;/&gt;
          &lt;sxi:Property name=&quot;domain&quot; value=&quot;ACME&quot;/&gt;
        &lt;/sxi:Properties&gt;
        &lt;sxi:Port&gt;1433&lt;/sxi:Port&gt;
      &lt;/Connection&gt;
      &lt;sxi:ReturnCodes&gt;
        &lt;sxi:Success/&gt;
        &lt;sxi:RecoverableError&gt;
          &lt;sxi:Code&gt;.+Read timed out.+&lt;/sxi:Code&gt;
          &lt;sxi:Code&gt;.*Invalid state.+&lt;/sxi:Code&gt;
          &lt;sxi:Code&gt;.*SHUTDOWN is in progress.+&lt;/sxi:Code&gt;
          &lt;sxi:Code&gt;I/O Error: Connection reset by peer: socket write error&lt;/sxi:Code&gt;
        &lt;/sxi:RecoverableError&gt;
      &lt;/sxi:ReturnCodes&gt;
    &lt;/Connector&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (SeanR)]]></author>
			<pubDate>Tue, 12 Jan 2021 13:01:49 +0000</pubDate>
			<guid>https://www.xlayer.co.za/forum/viewtopic.php?pid=196#p196</guid>
		</item>
		<item>
			<title><![CDATA[Windows Authentication to SQL server from Java]]></title>
			<link>https://www.xlayer.co.za/forum/viewtopic.php?pid=32#p32</link>
			<description><![CDATA[<p>When trying to connect to a MSSQL database server that uses Windows Authentication please remember the following:</p><ol class="decimal"><li><p>Include the following property:<strong> useNTLMv2</strong></p></li><li><p>Include the following Domain property: <strong>domain=mydomain.local</strong> (where &quot;mydomain.local&quot; is the trusted windows domain of the user allowed to access the database)</p></li></ol><p>These can be set in the applications configuration.</p>]]></description>
			<author><![CDATA[dummy@example.com (SeanR)]]></author>
			<pubDate>Wed, 21 Nov 2018 09:07:09 +0000</pubDate>
			<guid>https://www.xlayer.co.za/forum/viewtopic.php?pid=32#p32</guid>
		</item>
	</channel>
</rss>
