从 netbeans 导入到 subversion 时出现身份验证错误

发布于 2024-08-27 19:04:58 字数 633 浏览 16 评论 0原文

我刚刚开始研究源代码控制...并从 collabnet 安装了 subversion... 我还使用 netbeans(6.8) 来处理 PHP...

我已完成以下步骤

  1. 我安装的 subversion 为 c:\program files\collabnet\ ,存储库的根目录为 e:\svn_repository

  2. 然后我创建了一个存储库作为 e:\svn_repository\lemon

  3. 然后我编辑了 passwd 文件并添加了用户和密码

  4. 然后,我尝试将现有项目导入到存储库中,地址为 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

  1. I have installed subversion is c:\program files\collabnet\ and the root for the repositories in e:\svn_repository

  2. I then created a repository as e:\svn_repository\lemon

  3. I then edited the passwd file and added the user and password

  4. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

玻璃人 2024-09-03 19:04:58

更改 svnserve.conf 后是否重新启动了 svnserve?您确定已将用户添加到 passwd,而不是 svnserve.conf 吗?

Did you restart svnserve after changing svnserve.conf? Are you sure you have added users to passwd, not to svnserve.conf?

金橙橙 2024-09-03 19:04:58

发现错误...我在 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..!

无名指的心愿 2024-09-03 19:04:58

你必须设置 webdav_svn

you must setup webdav_svn

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文