Closed lboss75 closed 8 years ago
Did you follow all the on-prem instructions?
https://github.com/Microsoft/vso-agent/blob/master/docs/onprem.md
Setting the "Default domain" for the Basic Authentication settings in IIS might workaround the issue.
Yes: I followed all the on-prem instructions. And yes: I set default domain in IIS.
I have solved it: Need to use NTLM authenfication in TFS.
I have TFS 2015 installed in network with Active Directory. When I tring to build my code on Linux machine (CentOS) I have error:
fatal: Authentication failed for 'http://username:password@tfs/tfsserver/DefaultCollection/_git/project/' /usr/local/git/bin/git failed with return code: 128
The problem is user name: it is without domain name.
But if I specify domain name, tfs agent escapes domain name separator (@ or ) and I got error again:
fatal: Authentication failed for 'http://username%40**domain_name**:password@tfsserver/tfs/DefaultCollection/_git/project/'
In console command git clone http://username@domain_name:password@tfsserver/tfs/DefaultCollection/_git/project/
works Ok.
So: