[英]Getting to SVN from TeamCity using Windows Authentication
I am trying to setup TeamCity on my Windows XP machine. 我正在尝试在Windows XP计算机上设置TeamCity。 It is failing to get the code from subversion because of an authentication error.
由于身份验证错误,因此无法从Subversion获取代码。 I have put my windows domain\\user username and password into the TeamCity configuration - but it looks like it's trying basic authentication.
我已经将Windows域\\用户名和密码放入TeamCity配置中-但是它似乎正在尝试基本身份验证。 What do I need to change?
我需要更改什么?
Here is the TeamCity SVN log (the actual server/port has been replaced with server:port): 这是TeamCity SVN日志(实际的服务器/端口已替换为server:port):
[2009-05-28 17:37:43,375] DEBUG - javasvn.output - NETWORK: SENT [2009-05-28 17:37:43,375]调试-javasvn.output-网络:已发送
OPTIONS /svn/External HTTP/1.1 选项/ svn /外部HTTP / 1.1
Host: remote.server:port 主机:remote.server:port
User-Agent: SVN/1.5.5 SVNKit/1.2.2 ( http://svnkit.com/ ) r5405 用户代理:SVN / 1.5.5 SVNKit / 1.2.2( http://svnkit.com/ )r5405
Keep-Alive: 活着:
Connection: TE, Keep-Alive 连接:TE,保持活动状态
TE: trailers TE:拖车
Authorization: Basic bWVybG90L21hcmt3OiVyZnZjZGUz 授权:基本bWVybG90L21hcmt3OiVyZnZjZGUz
Content-Length: 0 内容长度:0
Accept-Encoding: gzip 接受编码:gzip
Content-Type: text/xml; 内容类型:text / xml; charset="utf-8"
charset =“ utf-8”
DAV: http://subversion.tigris.org/xmlns/dav/svn/depth DAV: http : //subversion.tigris.org/xmlns/dav/svn/depth
DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops DAV: http : //subversion.tigris.org/xmlns/dav/svn/log-revprops
DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo DAV: http : //subversion.tigris.org/xmlns/dav/svn/mergeinfo
[2009-05-28 17:37:43,453] DEBUG - javasvn.output - NETWORK: READ [2009-05-28 17:37:43,453]调试-javasvn.output-网络:读取
HTTP/1.1 401 Authorization Required 需要HTTP / 1.1 401授权
Date: Thu, 28 May 2009 05:38:56 GMT 日期:格林尼治标准时间2009年5月28日星期四05:38:56
Server: Apache 服务器:Apache
WWW-Authenticate: Basic realm="Subversion Repositories" WWW-Authenticate:基本领域=“ Subversion存储库”
Content-Length: 401 内容长度:401
Keep-Alive: timeout=5, max=99 保持活动:超时= 5,最大值= 99
Connection: Keep-Alive 连接:保持活动
Content-Type: text/html; 内容类型:text / html; charset=iso-8859-1
字符集= iso-8859-1
[2009-05-28 17:37:43,453] DEBUG - javasvn.output - NETWORK: svn: Authentication required for ' https://server:port Subversion Repositories' [2009-05-28 17:37:43,453]调试-javasvn.output-网络:svn:“ https:// server:port Subversion Repositories”所需的身份验证
我下载了最新版本(4.5.1(内部版本8975)),并且开箱即用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.