{"action":"closed","issue":{"url":"https://api.github.com/repos/clncln1/node-asclient/issues/1","repository_url":"https://api.github.com/repos/clncln1/node-asclient","labels_url":"https://api.github.com/repos/clncln1/node-asclient/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/clncln1/node-asclient/issues/1/comments","events_url":"https://api.github.com/repos/clncln1/node-asclient/issues/1/events","html_url":"https://github.com/clncln1/node-asclient/issues/1","id":121726552,"number":1,"title":"AD endpoint URI","user":{"login":"ktk","id":583021,"avatar_url":"https://avatars.githubusercontent.com/u/583021?v=3","gravatar_id":"","url":"https://api.github.com/users/ktk","html_url":"https://github.com/ktk","followers_url":"https://api.github.com/users/ktk/followers","following_url":"https://api.github.com/users/ktk/following{/other_user}","gists_url":"https://api.github.com/users/ktk/gists{/gist_id}","starred_url":"https://api.github.com/users/ktk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktk/subscriptions","organizations_url":"https://api.github.com/users/ktk/orgs","repos_url":"https://api.github.com/users/ktk/repos","events_url":"https://api.github.com/users/ktk/events{/privacy}","received_events_url":"https://api.github.com/users/ktk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-11T15:13:35Z","updated_at":"2016-04-24T17:07:14Z","closed_at":"2016-04-24T17:07:14Z","body":"First, thanks a lot for the code, I'm looking for something like this for a long time!\r\n\r\nI try to figure out how to connect to an AD server. I don't know much about AD and so far all I had to provide was `myuser@mydomain.com` and systems like MacOS know how to connect to it. I have a Exchange web interface at `https://myexchange.mydomain.com` so I created `https://myexchange.mydomain.com/Microsoft-Server-ActiveSync` but that didn't seem to work. A CURL on that URI returns a `401` with `Unauthorized` so at least it seems to resolve something.\r\n\r\nIf I connect with the sample code all I see is `Error: The server didnt respond properly`.\r\n\r\nCan you give some more hints about what I could try to get the sample working?"}}