Using NT Auth with CruiseControl and Subversion

心已入冬 提交于 2019-12-08 07:17:03

问题


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.

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

It doesn't and instead I get the error:

Source control operation failed: svn: OPTIONS of 'http://xxx.xxx.com:8888/svn/SourceCode/Trunk': authorization failed (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.

Am I doing something wrong?

Thanks in advance.


回答1:


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.



来源:https://stackoverflow.com/questions/928044/using-nt-auth-with-cruisecontrol-and-subversion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!