I'm trying to clone GIT repository being hosted by a corporate TFS server.
I'm able to clone this repository using VS2013. But when coming to command-line git git version 1.9.4.msysgit.2
, git.exe fails with an Authentication failed for 'uri'
.
On my first tries, I gave my domain credentials. With several case combinations (DOMAIN\user
, domain\user
, and so on).
Then I found the page Team Foundation Server 2013 Express - Can't connect to git repo via command line, so I've tried with no authentication at all.
K:\GitRepositories>git clone http://tfs:8080/tfs/CegidTest2013/IVO_TestBuilds/_git/IntegrationTestsOverrides
Cloning into 'IntegrationTestsOverrides'...
Username for 'http://tfs:8080':
Password for 'http://tfs:8080':
fatal: Authentication failed for 'http://tfs:8080/tfs/CegidTest2013/IVO_TestBuilds/_git/IntegrationTestsOverrides/'
No luck.
While having a look at the network traffic, I see that the client's NTLMSSP_NEGOTIATE
gets an NTLMSSP_CHALLENGE
response. The client doesn't proceed further.
Could this be related to the fact that the TFS Server belongs to another domain than the user currently logged? This shouldn't be an issue.
I can't modify the configuration of the server without proof (that's a TFS production server, I'm not the admin).