VisualSVN Server 用户需要哪些 Windows Server 2008 角色才能登录 [英] VisualSVN Server what Windows Server 2008 roles needed for user to be able to login

查看:44
本文介绍了VisualSVN Server 用户需要哪些 Windows Server 2008 角色才能登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows Server 2008 上有一个 SVN 服务器,我在 SVN 级别正确设置了我的用户名(读/写访问权限).

I have an SVN Server located on a Windows Server 2008 and I have setup my username properly at the SVN level (read/write access rights).

但是当尝试通过浏览器访问服务器时,我得到您无权访问此服务器上的/svn/project1/.

But when trying to access the server via a browser, I get the You don't have permission to access /svn/project1/ on this server.

他们是否需要设置任何特殊的 Windows Server 角色才能使这个 svn 用户登录工作?

Are they any special Windows Server Roles that I need to setup in order to make this svn user login work?

推荐答案

不需要特殊的 Windows Server 角色.

No special Windows Server roles are required.

当您收到错误消息时,您应该检查 VisualSVN 服务器日志 中记录的内容.在大多数情况下,在 VisualSVN 服务器管理器(或 Repository Configurator,如果您使用的话)中仔细检查权限就足够了.请记住,Subversion 中的路径和访问规则区分大小写,因此请检查您在浏览器中输入的 URL.

You should check what is logged to VisualSVN Server log when you get the error. In most cases, it's enough to double-check permissions in VisualSVN Server Manager (or Repository Configurator if you use one). Keep in mind the fact that paths and access rules are case-sensitive in Subversion, so check the URL you enter in browser.

VisualSVN Server 2.7 中存在一个已知错误,该错误将在下一个补丁版本中修复.当您从 Subversion 身份验证切换到 Windows 身份验证时,不会自动创建授权配置文件并且全局权限不起作用.在这种情况下,您将在 VisualSVN 服务器日志中看到以下错误:

There is a known bug in VisualSVN Server 2.7 that will be fixed in one of the next patch releases. Authorization configuration file is not created automatically and global permissions don't work when you switch from Subversion authentication to Windows one. In this case you'll see the following error on VisualSVN Server log:

未能加载 AuthzVisualSVNReposRelativeAccessFile: 无法打开文件C:\Repositories\MyRepo\conf\VisualSVN-WinAuthz.ini":系统找不到指定的文件. (OS 2)

Failed to load the AuthzVisualSVNReposRelativeAccessFile: Can't open file 'C:\Repositories\MyRepo\conf\VisualSVN-WinAuthz.ini': The system cannot find the file specified. (OS 2)

如果是您的情况,您可以在 VisualSVN 服务器管理器控制台中转到存储库的安全属性,然后从列表中添加/删除任何帐户.这将强制 VisualSVN 服务器创建一个空的授权文件,全局权限将开始正常工作.

If it's your case, you can go to Security properties of a repository in VisualSVN Server Manager console and add / remove any account from the list. This will force VisualSVN Server to create an empty authorization file and global permissions will start working properly.

这篇关于VisualSVN Server 用户需要哪些 Windows Server 2008 角色才能登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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