setting up integratedSecurity in dbconfig.xml

upgrading from 4.0.1 to 4.4 can't get connection to work.

I have two JIRA services running as ants\svc_cc_jira_dev

Version 4.0.1 uses standard tomcat configs to set up a connection and it works

<Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"

driverClassName="net.sourceforge.jtds.jdbc.Driver" domain="ants"

url="jdbc:jtds:sqlserver://gblondb018:1513/ccjiradb;tds=8.0;lastupdatecount=true;integratedSecurity=true" />

Version 4.4 uses its own config and I get the error

“The login is from an untrusted domain and cannot be used with Windows authentication.”














2 answers

1 accepted

I got integrated security working with JIRA v5.17 with a domain user.

I had to switch to MS JDBC:

  1. Downloaded sqljdbc_4.0.2206.100_enu.exe from Microsoft
  2. Copied sqljdbc4.jar to Atlassian\JIRA\lib and Atlassian\JIRA\atlassian-jira\WEB-INF\lib
  3. Copied x86\sqljdbc_auth.dll to Atlassian\JIRA\bin and Atlassian\JIRA\jre\bin and C:\Windows\System32
    &lt;validation-query&gt;select 1&lt;/validation-query&gt;

The extra paths I copied the jars/dlls to may be redundant, as too with the user/pass in the XML.

This looks promising

it seems to have connected according to the logs


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

788 views 2 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you