从 netbeans 导入到 subversion 时出现身份验证错误
我刚刚开始研究源代码控制...并从 collabnet 安装了 subversion... 我还使用 netbeans(6.8) 来处理 PHP...
我已完成以下步骤
我安装的 subversion 为 c:\program files\collabnet\ ,存储库的根目录为 e:\svn_repository
然后我创建了一个存储库作为 e:\svn_repository\lemon
然后我编辑了 passwd 文件并添加了用户和密码
然后,我尝试将现有项目导入到存储库中,地址为 svn://localhost/lemon,并使用新用户和密码。
完成这一切后,我收到错误“身份验证失败”...我很确定身份验证是正确的...
我尝试使用地址 file:///E:/sv_repository/lemon 导入项目,无需身份验证,它连接...
但是我有其他人通过 lan 连接到该服务器,而 svn:// 协议是唯一的选择....
我在这里做错了什么..? 另外..我在哪里可以找到连接netbeans和collabnet subversion的正确教程......?
感谢您的建议和时间...
I just began looking into source control.... And installed subversion from collabnet...
I also use netbeans(6.8) to work with PHP...
I have done the following steps
I have installed subversion is c:\program files\collabnet\ and the root for the repositories in e:\svn_repository
I then created a repository as e:\svn_repository\lemon
I then edited the passwd file and added the user and password
I then tried importing an existing project into the repository with the address - svn://localhost/lemon with the new user and password.
After all this, i get the error "authentication failed"... I am pretty sure the authentication is correct...
I tried importing the project with the address file:///E:/sv_repository/lemon with no authentication and it connected...
But i got other guys who got to connect to this server through lan and svn:// protocol is the only option....
What am i doing wrong here..?
Also.. where can i find a proper tutorial to connect netbeans and collabnet subversion.....?
Thanks for your suggestions and time...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
更改
svnserve.conf
后是否重新启动了svnserve
?您确定已将用户添加到passwd
,而不是svnserve.conf
吗?Did you restart
svnserve
after changingsvnserve.conf
? Are you sure you have added users topasswd
, not tosvnserve.conf
?发现错误...我在 svnserve.conf 文件中同时启用了 anon-access 和 auth-access ....
评论其中一个就成功了...
一个愚蠢的错误...但是对于像我这样的 n00b 来说,这是一个陷阱......!!
干杯..!
Found out the mistake... i had enabled both anon-access and auth-access at the same time in the svnserve.conf file....
Commenting one of them did the trick....
A stupid mistake... but a pitfall to watch for n00bs like me...!!
Cheers..!
你必须设置 webdav_svn
you must setup webdav_svn