I was able to connect on MacOS in Intellij 2018.2 using the Microsoft 7.0.0 SQL Server jdbc driver.
(First, I'm assuming you have Kerberos working. To check that, run:
klist | grep krbtgt
If you have a Kerberos ticket, you should see:
Aug 29 12:17:34 2018 Aug 29 22:17:34 2018 krbtgt/[email protected]
I used this article on Connecting using ActiveDirectoryIntegrated Authentication Mode to troubleshoot this. Note that I did not have to do "Step 2: Configuring KDC in krb5.conf". )
Make sure to set the jdbc driver to use integrated security and Java Kerberos.
Picture of Advanced tab in Project Data Sources
Picture of Advanced tab in Project Data Sources showing authentication scheme
Then, on the general tab, make sure to change the drop down menu next to the URL, to "URL only" and put in a URL of the form:
jdbc:sqlserver://databaseserver.domain.company.com;database=testdatabase;integratedSecurity=true;authenticationScheme=JavaKerberos;encrypt=true;trustServerCertificate=true;
Picture of General tab in Project Data Sources
If you leave the drop down next to URL on "default", it will attempt to use a user name/password, which is not what you want if you're using integrated authentication. Also, please make sure you know what you're doing if you leave "trustServerCertificate=true;" in the URL. In production, you should properly setup your certificates, but that's not in the scope of what's being asked here.