在CruiseControl和Subversion中使用NT Auth [英] Using NT Auth with CruiseControl and Subversion

查看:83
本文介绍了在CruiseControl和Subversion中使用NT Auth的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使ccnet.config文件中的源代码控制块访问SVN而不传递凭据。相反,我希望使用在ccnet服务中配置的用户。

I am trying to have my source control block in my ccnet.config file access SVN without passing in the credentials. Instead I want the user that is configured in the ccnet service to be used.

因此,我只是在sourcecontrol块中没有考虑用户名和密码标签会起作用。

So, I just didn't include the username and password tags in the sourcecontrol block thinking it would work.

没有,而是出现错误:


源代码控制操作失败:svn: http://xxx.xxx.com的选项:8888 / svn / SourceCode / Trunk ':授权失败( http://xxx.xxx.com :8888

如果我随后将用户名和密码标签放入源代码控制块中,则使用

If I then put in the username and password tags into the source control block, and use the exact same credentials that are configured for the service, it then works fine.

我做错了吗?

推荐答案

您需要以该用户身份登录到该框(或使用svn cli执行RunAs。 ent),并执行svn更新或其他svn操作以使SVN提示您输入该存储库的凭据。并在提示时告诉SVN缓存凭据。

You need to log in to the box as that user (or do a RunAs with the svn client) and do an svn update or other svn action to get SVN to prompt you for your credentials to that repository. And when you are prompted, tell SVN to cache the credentials.

这篇关于在CruiseControl和Subversion中使用NT Auth的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆