TeamCity Professional 8.1.3 on Windows Server 2008 R2
I am attempting to configure my first TeamCity server and have gotten stuck trying to get it to connect with our subversion repository.
When I test my VCS configuration, I get the following error:
Test connection failed in Test :: First_One. svn: E170001 Authentication required for '<https://mysvnserver:443>'
When logged into the TeamCity server, I am able to use the svn client as shown (although it is slow to respond):
C:\> svn ls https://mysvnserver/svn/XXX_260
My TeamCity VCS settinigs are:
Type of VCS: Subversion
VCS root name: XXX_260
VCS root ID: Test_Xxx260
Default config directory: [x] Use default config directory
Configuration directory: C:\Users\MYUSERNAME\AppData\Roaming\Subversion
Externals support: [x] Full support
Private key file path: <blank>
Private key file password: <blank>
SSH Port: <blank>
We use VisualSVN for our repository with NTLM authentication.
In the security log on the VisualSVN server I see the following entry:
Event 4625 Audit failure
A account failed to log in.
Logon Type 3
Unknown username or password
logon process NtlmSsp
Auth Package NTLM
This repeats several times and then starts repeating every 60 seconds which is the "changes checking interval" configured for the VCS.
Furthermore, my account gets locked out, so I know I have the correct username. I have reentered the password several times just to make sure it is correct.
Some of the things I have tried:
I have the TeamCity server service running under my Active Direct account (DOMAINX\MYUSERNAME)
I added my AD account to the [Local Security Policy -> Local Policies -> User Rights Assignments -> Access the computer from the network] on the Subversion server
Set system-wide environment variable TEAMCITY_SERVER_OPTS=-Dsvnkit.http.methods=NTLM,Negotiate,Digest,Basic
(note the leading dash in the environment variable, I hope that is right).