{"action":"created","issue":{"url":"https://api.github.com/repos/tediousjs/tedious/issues/246","repository_url":"https://api.github.com/repos/tediousjs/tedious","labels_url":"https://api.github.com/repos/tediousjs/tedious/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/tediousjs/tedious/issues/246/comments","events_url":"https://api.github.com/repos/tediousjs/tedious/issues/246/events","html_url":"https://github.com/tediousjs/tedious/issues/246","id":57539161,"number":246,"title":"Windows Authentication issue to SQL 2014","user":{"login":"ryperl","id":1539717,"avatar_url":"https://avatars.githubusercontent.com/u/1539717?v=3","gravatar_id":"","url":"https://api.github.com/users/ryperl","html_url":"https://github.com/ryperl","followers_url":"https://api.github.com/users/ryperl/followers","following_url":"https://api.github.com/users/ryperl/following{/other_user}","gists_url":"https://api.github.com/users/ryperl/gists{/gist_id}","starred_url":"https://api.github.com/users/ryperl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryperl/subscriptions","organizations_url":"https://api.github.com/users/ryperl/orgs","repos_url":"https://api.github.com/users/ryperl/repos","events_url":"https://api.github.com/users/ryperl/events{/privacy}","received_events_url":"https://api.github.com/users/ryperl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2015-02-12T23:56:28Z","updated_at":"2016-07-29T09:46:42Z","closed_at":null,"body":"New to tedious and just trying to sort this out of getting a windows auth connection to SQL Server 2014- \r\n\r\nTedious package version: 1.9.0\r\nnode version 12\r\n\r\n// config setup \r\nvar config = {\r\n\tuserName: \"User\",\r\n\tpassword: \"MyPass\",\r\n\tserver: \"MyServer\",\r\n\tdomain: \"MyDomian\",\r\n\toptions: {\r\n\t\tdatabase: \"myDb\"\r\n\t},\r\n\tdebug: {\r\n\t\tpacket: true,\r\n\t\tdata: true,\r\n\t\tpayload: true,\r\n\t\ttoken: true,\r\n\t\tlog: true\r\n\t}\r\n};\r\n\r\nI have verified that I am able to connect to my 1433 port, and for testing this is a SQL server running locally.\r\n\r\nStack Trace: \r\nD:\\Development\\Node\\node-sql\\index.js:25\r\n                throw err;\r\n                      ^\r\nConnectionError: Login failed. \r\nThe login is from an untrusted domain and cannot be used with \r\nWindows authentication.\r\n    at Parser.<anonymous> \r\n(D:\\Development\\Node\\node-sql\\node_modules\\tedious\\lib\\connection.js:447:37)\r\n    at Parser.emit (events.js:107:17)\r\n    at Parser.nextToken \r\n(D:\\Development\\Node\\node-sql\\node_modules\\tedious\\lib\\token\\token-stream-parser.js:91:18)\r\n    at Parser.addBuffer \r\n(D:\\Development\\Node\\node-sql\\node_modules\\tedious\\lib\\token\\token-stream-parser.js:68:17)\r\n    at Connection.sendDataToTokenStreamParser \r\n(D:\\Development\\Node\\node-sql\\node_modules\\tedious\\lib\\connection.js:879:35)\r\n    at Connection.STATE.SENT_NTLM_RESPONSE.events.data \r\n(D:\\Development\\Node\\node-sql\\node_modules\\tedious\\lib\\connection.js:226:23)\r\n    at Connection.dispatchEvent \r\n(D:\\Development\\Node\\node-sql\\node_modules\\tedious\\lib\\connection.js:742:59)\r\n    at MessageIO.<anonymous> \r\n(D:\\Development\\Node\\node-sql\\node_modules\\tedious\\lib\\connection.js:670:22)\r\n    at MessageIO.emit (events.js:107:17)\r\n    at MessageIO.eventData \r\n(D:\\Development\\Node\\node-sql\\node_modules\\tedious\\lib\\message-io.js:56:12)\r\n\r\nAny push in the right direction appreciated."},"comment":{"url":"https://api.github.com/repos/tediousjs/tedious/issues/comments/236139670","html_url":"https://github.com/tediousjs/tedious/issues/246#issuecomment-236139670","issue_url":"https://api.github.com/repos/tediousjs/tedious/issues/246","id":236139670,"user":{"login":"arthurschreiber","id":2195,"avatar_url":"https://avatars.githubusercontent.com/u/2195?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurschreiber","html_url":"https://github.com/arthurschreiber","followers_url":"https://api.github.com/users/arthurschreiber/followers","following_url":"https://api.github.com/users/arthurschreiber/following{/other_user}","gists_url":"https://api.github.com/users/arthurschreiber/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurschreiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurschreiber/subscriptions","organizations_url":"https://api.github.com/users/arthurschreiber/orgs","repos_url":"https://api.github.com/users/arthurschreiber/repos","events_url":"https://api.github.com/users/arthurschreiber/events{/privacy}","received_events_url":"https://api.github.com/users/arthurschreiber/received_events","type":"User","site_admin":true},"created_at":"2016-07-29T09:46:42Z","updated_at":"2016-07-29T09:46:42Z","body":"@tvrprasad I think we need better documentation around this.\r\n\r\nWe have our documentation stored in the `gh-pages` branch of this repo, but as it is maintained outside of the code base, it gets outdated quite easily and maintenance is a drag. 😞 "}}
{"actor":{"display_login":"arthurschreiber"}}