{"action":"created","issue":{"url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/177","repository_url":"https://api.github.com/repos/denisenkom/go-mssqldb","labels_url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/177/comments","events_url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/177/events","html_url":"https://github.com/denisenkom/go-mssqldb/issues/177","id":185943442,"number":177,"title":"Error: Single-Sign-On not work","user":{"login":"heretic13","id":11976009,"avatar_url":"https://avatars.githubusercontent.com/u/11976009?v=3","gravatar_id":"","url":"https://api.github.com/users/heretic13","html_url":"https://github.com/heretic13","followers_url":"https://api.github.com/users/heretic13/followers","following_url":"https://api.github.com/users/heretic13/following{/other_user}","gists_url":"https://api.github.com/users/heretic13/gists{/gist_id}","starred_url":"https://api.github.com/users/heretic13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heretic13/subscriptions","organizations_url":"https://api.github.com/users/heretic13/orgs","repos_url":"https://api.github.com/users/heretic13/repos","events_url":"https://api.github.com/users/heretic13/events{/privacy}","received_events_url":"https://api.github.com/users/heretic13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-28T14:52:15Z","updated_at":"2016-11-04T20:58:12Z","closed_at":null,"body":"Hello.\n\nI have a questions.\nI use driver with empty connection string - \"\". It means that I connect to local database, on default port with **current Windows-user permissions**.\n\nI have result:\nsql.Open(\"mssql\", \"\") - no errors. OK. Behavior of sql.Open() may do not established real connect and may not produce error.\n\nconn.Ping() - no error. OK. Maybe I have established a good connection.\n\nMake a query (something like \"SELECT something from some_database\"). That return error \"driver: bad connection\".\n\n1st. What is this? Why I cannot recieve error on Ping() command?\n\n2nd. Why I get error \"bad connection\"? Current Windows user have permission to connect to MSSQL. I checked it with **osql -E -Q \"query text\"** command. Additionaly current user is a member of groups that begins with \"SQLServer*\".\n\nConfiguration:\nWindows 10 x64\nMicrosoft SQL Server 2008 R2 (SP2) - 10.50.4042.0 (X64)\ngo version go1.7.3 windows/amd64\n\nPS: I know about the existence of user \"sa\" (connect work with it). Also connect work if I set real Windows User/Login in connect string. But I'm interested in login with current user permissions.\n"},"comment":{"url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/comments/258545712","html_url":"https://github.com/denisenkom/go-mssqldb/issues/177#issuecomment-258545712","issue_url":"https://api.github.com/repos/denisenkom/go-mssqldb/issues/177","id":258545712,"user":{"login":"SQLServerIO","id":413531,"avatar_url":"https://avatars.githubusercontent.com/u/413531?v=3","gravatar_id":"","url":"https://api.github.com/users/SQLServerIO","html_url":"https://github.com/SQLServerIO","followers_url":"https://api.github.com/users/SQLServerIO/followers","following_url":"https://api.github.com/users/SQLServerIO/following{/other_user}","gists_url":"https://api.github.com/users/SQLServerIO/gists{/gist_id}","starred_url":"https://api.github.com/users/SQLServerIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SQLServerIO/subscriptions","organizations_url":"https://api.github.com/users/SQLServerIO/orgs","repos_url":"https://api.github.com/users/SQLServerIO/repos","events_url":"https://api.github.com/users/SQLServerIO/events{/privacy}","received_events_url":"https://api.github.com/users/SQLServerIO/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T20:58:12Z","updated_at":"2016-11-04T20:58:12Z","body":"Hi heretic13 I've been working through this as well #163 is the one I opened a few months back."}}
{"actor":{"display_login":"SQLServerIO"}}