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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
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