I'm running a Windows vServer. I'm using Active Directory and GitStack for providing a Git Server which uses LDAP for authentification. This works well.
I've set up a TeamCity 7.1.1, created build configuration and using an account which can check out source from the Git Server. I've tried this account from an external machine and I've tested the connection using the "Test Connection" button in TeamCity. Both of them will success.
But when the agent is running I get the following message:
Failed for the root 'Repo.git' #7: 'git fetch' command failed.
stderr: http://teamcity@localhost:35000/Repo.git: 401 Authorization Required
I'm using server-side-checkout and password authentification.