{"action":"created","issue":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/642","labels_url":"https://api.github.com/repos/nodegit/nodegit/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/nodegit/nodegit/issues/642/comments","events_url":"https://api.github.com/repos/nodegit/nodegit/issues/642/events","html_url":"https://github.com/nodegit/nodegit/issues/642","id":94682472,"number":642,"title":"Issue with NTLM auth","user":{"login":"bigbn","id":740864,"avatar_url":"https://avatars.githubusercontent.com/u/740864?v=3","gravatar_id":"","url":"https://api.github.com/users/bigbn","html_url":"https://github.com/bigbn","followers_url":"https://api.github.com/users/bigbn/followers","following_url":"https://api.github.com/users/bigbn/following{/other_user}","gists_url":"https://api.github.com/users/bigbn/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbn/subscriptions","organizations_url":"https://api.github.com/users/bigbn/orgs","repos_url":"https://api.github.com/users/bigbn/repos","events_url":"https://api.github.com/users/bigbn/events{/privacy}","received_events_url":"https://api.github.com/users/bigbn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-13T09:43:36Z","updated_at":"2015-09-16T11:29:10Z","closed_at":"2015-09-16T11:29:10Z","body":"We are using TFS in our company with git support. I can't clone any repo managed by TFS via this library.\r\n    \r\n    sails.log.info('Starting update');\r\n    git.Clone('https://irtfs.****.ru/tfs/**', DEPLOY_DIR, {\r\n        remoteCallbacks: {\r\n          certificateCheck: function() {\r\n            sails.log.info('Ignoring certificate check');\r\n            return 0;\r\n          },\r\n          credentials: function(url, userName) {\r\n            sails.log.info('Passing credentials');            \r\n            return git.Cred.userpassPlaintextNew('MyUserName_PI', 'MyPassWord');\r\n          }\r\n        }\r\n      }).then(function(repository) {\r\n        sails.log.info('Repository successfully cloned');\r\n\r\nprocess never enters into credentials callback and i always get an error:\r\n\r\n    info: Starting update\r\n    info: Ignoring certificate check\r\n    error: Error: Unexpected HTTP status code: 401 [Error: Unexpected HTTP status code: 401]\r\n\r\nThis OS alredy icluded to domain and specified user too. How can i make it work?"},"comment":{"url":"https://api.github.com/repos/nodegit/nodegit/issues/comments/140712946","html_url":"https://github.com/nodegit/nodegit/issues/642#issuecomment-140712946","issue_url":"https://api.github.com/repos/nodegit/nodegit/issues/642","id":140712946,"user":{"login":"bigbn","id":740864,"avatar_url":"https://avatars.githubusercontent.com/u/740864?v=3","gravatar_id":"","url":"https://api.github.com/users/bigbn","html_url":"https://github.com/bigbn","followers_url":"https://api.github.com/users/bigbn/followers","following_url":"https://api.github.com/users/bigbn/following{/other_user}","gists_url":"https://api.github.com/users/bigbn/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbn/subscriptions","organizations_url":"https://api.github.com/users/bigbn/orgs","repos_url":"https://api.github.com/users/bigbn/repos","events_url":"https://api.github.com/users/bigbn/events{/privacy}","received_events_url":"https://api.github.com/users/bigbn/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T11:29:10Z","updated_at":"2015-09-16T11:29:10Z","body":"There is no any positive progress. Switched to another library."}}