# Login on SQL Server with domain account (using jdbc plugin)

**URL:** <https://discuss.elastic.co/t/login-on-sql-server-with-domain-account-using-jdbc-plugin/205742>\
**Category:** Logstash\
**Created:** [October 29, 2019, 6:46pm UTC](https://discuss.elastic.co/t/login-on-sql-server-with-domain-account-using-jdbc-plugin/205742 "2019-10-29T18:46:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [October 29, 2019, 6:46pm UTC](https://discuss.elastic.co/t/login-on-sql-server-with-domain-account-using-jdbc-plugin/205742/1 "2019-10-29T18:46:43Z")

</div>

Hi all,  
is there a way to login on MS SQL server using domain credentials?  
Currently I'm not able to login on it using JDBC Logstash plugin.

---

<div class="post-metadata">

**Author:** ![st3inbeiss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/st3inbeiss/32/55332_2.png) [@st3inbeiss](https://discuss.elastic.co/u/st3inbeiss)\
**Post date:** [October 30, 2019, 10:45am UTC](https://discuss.elastic.co/t/login-on-sql-server-with-domain-account-using-jdbc-plugin/205742/2 "2019-10-30T10:45:31Z")

</div>

Depends on your setup. If you are using a Linux/Windows mix you may have an issue with kerberos.

This is rather old but may point you in the right direction: [https://social.msdn.microsoft.com/Forums/sqlserver/en-US/7749ef5e-77de-4b03-8b10-104d2b3f2025/connect-to-sql-with-jdbc-and-a-windows-ad-account](https://social.msdn.microsoft.com/Forums/sqlserver/en-US/7749ef5e-77de-4b03-8b10-104d2b3f2025/connect-to-sql-with-jdbc-and-a-windows-ad-account)

If this is not the case, please post a summary of your setup (OS/Version/What runs where) and your config (without users/passwords of course).

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [October 31, 2019, 7:23am UTC](https://discuss.elastic.co/t/login-on-sql-server-with-domain-account-using-jdbc-plugin/205742/3 "2019-10-31T07:23:19Z")

</div>

yes, I have Logstash on Linux and SQL on Windows.  
I will give a chance to that link.

thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 28, 2019, 7:23am UTC](https://discuss.elastic.co/t/login-on-sql-server-with-domain-account-using-jdbc-plugin/205742/4 "2019-11-28T07:23:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
