How to use domain creds on a datasource

I'm new to using IntelliJ for my database connections and I'm sure I'm missing something simple.  How do you use domain credentials with setting up a datasource?  For example in the username field, I tried  "MYDOMAIN/username" but it still says it's an invalid login.  I've checked with other SQL editors and I do have authority to access that server and database.  Any help would be appreciated.

0
10 comments

Hello.

What is the build number of your IDE? Please check About dialog.

Regards,
Alexander.

0
Avatar
Permanently deleted user

Build #: IU-139.1117

0

Is your database a MS SQL Server? Then the data source properties should include "Use Windows domain authentication" check box. Is it relevant to your case?

Regards,
Alexander.

0
Avatar
Permanently deleted user

It is a MS SQL Server but I don't see the checkboxScreen Shot 2015-03-13 at 9.10.59 AM.png

0

Can you try to create another data source: is the check box present?

Thanks,
Alexander.

0
Avatar
Permanently deleted user

Still no checkbox...

Screen Shot 2015-03-13 at 12.08.46 PM.png

0

Looking at the screenshot I can suppose that you're on Mac? If so then sorry, domain authentication is supported only for Windows. I will show this topic to our developer to check it is possible to improve this.

Regards,
Alexander.

0
Avatar
Permanently deleted user

Thank you.  That would be appreciated.

0

Meanwhile, I've searched the web and found something about connecting from Mac.

For example, this link: http://stackoverflow.com/questions/11234931/windows-authentication-for-sql-server-using-jbdc-on-a-mac

At least one mentioned way seems to work from IDEA. I've set up a connection with jTds driver (not native MS driver). Provided all parameters like host, port, database. Then added to the URL the following parameter: ";domain=MY_DOMAIN_NAME". Set User = My.Domain.User, Password = My_Domain_Password. It works for me from Mac.

Regards,
Alexander.

0
Avatar
Permanently deleted user

Thank you.  I got that to work :)

0

Please sign in to leave a comment.