使用UNC路径作为Mercurial IIS6 Server2003中的路径位置 [英] Using UNC path as paths location in Mercurial IIS6 Server2003

查看:94
本文介绍了使用UNC路径作为Mercurial IIS6 Server2003中的路径位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行最新的Mercurial和Python 2.6; IIS6使用通配符ISAPI方法将网站附加到Mercurial hgwebdir_wsgi

I'm running the latest Mercurial and Python 2.6; IIS6 is using the wildcard ISAPI method to attach the site to the Mercurial hgwebdir_wsgi

[paths]
\ = \\COMP3254\TestRepo\*

[web]
baseurl = /
allow_push = *
push_ssl = false
style = monoblue

如果我引用本地驱动器E:\ repo *,则该设置可以完美地工作,但是如果我如上所述指定网络,则该设置将不起作用;我已经为服务器(MERCDEV01 $)授予了COMP3254共享文件夹上的完全权限,我想不出任何其他原因导致它无法正常工作.

The setup works perfectly if I reference the local drive E:\repo* but doesnt work if I specify the network as above; I've given the server (MERCDEV01$) full permissions on the shared folder on COMP3254, I can't think of any other reason it wouldn't work.

推荐答案

可能是委派问题.您可以对网络服务器进行NTLM身份验证(并且您的凭据将在其本地驱动器上被信任),但是由于不知道您的密码(即它无法委派您的凭据),因此网络服务器无法对您的身份进行远程身份验证).

Could be a delegation problem. You can NTLM-authenticate to the webserver (and your credentials will be trusted on its local drives), but the webserver can't authenticate you to a remote location, because it does not know your password (i.e. it can't delegate your credentials).

您是否尝试过将网络位置设置为服务器上的虚拟目录?然后,您可以输入IIS将缓存的凭据,并用于访问该位置.

Have you tried setting up the network location as a virtual directory on the server? You can then enter credentials IIS will cache and use for accesses to that location.

这篇关于使用UNC路径作为Mercurial IIS6 Server2003中的路径位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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