-
Notifications
You must be signed in to change notification settings - Fork 443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use Windows authentication to connect to MSSQL #302
Comments
I think I saw something in the NTLM authentication code in tedious that made it impossible to use in combination with encrypted connections. Could you try with the 'encrypt' option set to 'false'? |
It still doesn't work :( |
This is the error log when
And when
|
What I don't quite understand is this: After the failed connection, if I send a request, this error message shows up:
Which is rather strange, because I thought if I specified a "domain" then I should enter state |
As I said, I don't think encrypt is compatible with domain logins (yet). Is this on SQL server 2014? If yes, domain logins don't work yet on that version. :( |
This is SQL Server 2008 only :s I thought that tedious support NTLM? #134 |
Do you know any way at all, any module, that supports NTLM/WIndows authentication on SQL server 2008? I tried windows' driver for node.js, but it only support SQL server 2012 and up. |
I can't promise anything, but I'll try to take a look. We definitely want tedious to support NTLM based authentication on all relevant versions of SQL Server, but the implementation is tricky and I have not spend enough time on this topic yet. |
I was having simmilar problem. My solution was to use capital letters for the |
This is fixed in #417 |
I have not had much luck with connecting to MSSQL using windows authentication so far.
This is my config:
I can log in to that server with
domain\username
andpassword
, but I cannot authenticate usingtedious
. I tried out tedious-ntlm without much luck either. I don't even need windows authentication, btw. As long as tedious can talk to the domain and authenticate using provided username, I would be golden. I don't understand why it cannot communicate with the domain. I put the node.js script on the same server.The text was updated successfully, but these errors were encountered: