我似乎无法实现启用NTLM身份验证和让RDS工作的神奇组合。如果我只启用匿名身份验证,RDS工作正常-只要我在站点范围内启用它,RDS就会失败(这是意料之中的)。以下是我所做的:
-
这是WindowsXPSP2和ColdFusion 8,Eclipse+Adobe插件
-
-
“目录安全性”选项卡上,单击“编辑”按钮以进行匿名访问和身份验证控制
-
-
单击确定,确定,并覆盖所有子站点的设置,以便使用NTLM身份验证对整个站点进行“安全”保护。
-
回到IIS管理器中,右键单击CFIDE虚拟目录,选择属性
-
C:\>wget -S -O - http://localhost/CFIDE/administrator/
--2009-01-21 10:11:59-- http://localhost/CFIDE/administrator/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Wed, 21 Jan 2009 17:12:00 GMT
X-Powered-By: ASP.NET
Set-Cookie: CFID=712;expires=Fri, 14-Jan-2039 17:12:00 GMT;path=/
Set-Cookie: CFTOKEN=17139032;expires=Fri, 14-Jan-2039 17:12:00 GMT;path=/
Set-Cookie: CFAUTHORIZATION_cfadmin=;expires=Mon, 21-Jan-2008 17:12:00 GMT;path=/
Cache-Control: no-cache
Content-Type: text/html; charset=UTF-8
Length: unspecified [text/html]
Saving to: `STDOUT'
... html output follows ...
到目前为止,很好,CFIDE目录和至少一个子目录似乎在没有NTLM身份验证的情况下工作。所以我启动Eclipse并尝试建立一个RDS连接。不幸的是,我刚刚收到一条拒绝访问的消息。再进一步研究一下,Eclipse似乎正在尝试与/CFIDE/main/ide.cfm通信-很公平,再次拉出可靠的wget看看IIS在做什么:
C:\>wget -S -O - http://localhost/CFIDE/main/ide.cfm
--2009-01-21 10:16:56-- http://localhost/CFIDE/main/ide.cfm
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 401 Access Denied
Server: Microsoft-IIS/5.1
Date: Wed, 21 Jan 2009 17:16:56 GMT
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
Content-Length: 4431
Content-Type: text/html
Authorization failed.
请帮忙!!!