OWA,Outlook Anywhere,RPCP不一致

我正在使用新的Exchange 2010服务器解决Outlook Anywhere问题。 有问题的服务器MS2010位于SonicWALL NSA 2400设备之后,除了Outlook Anywhere之外,它的function也非常出色。 Outlook Anywhere的内部工作,我已经validation(通过Ctrl + 右键单击 – > Connection Status ),我可以通过HTTPS连接到MS2010。

当尝试从防火墙外部使用HTTPS连接到服务器时,我无法这样做。 一个Wireshark跟踪显示30个左右的HTTPS数据包传输成功,然后失败,3个直接传输到目的端口135.我不知道为什么我的电脑试图访问端口135上的任何东西,因为我已经设置我的configuration文件在慢速和快速连接上使用HTTPS。

我99%确定防火墙configuration正确。 我在同一台服务器上运行Outlook Web Access(也称为HTTPS),并且没有访问问题。

编辑:自动发现正确

编辑:我的自动发现设置是正确的(据我所知)。 我的服务器通过https://www.testexchangeconnectivity.com/传递Outlook Anywhere和Autodiscovertesting。

我一直在使用RPCPing实用程序进行故障排除,并得到以下结果:

内部

 >rpcping -t ncacn_http -s mail.mydomain.com -o RpcProxy=mail.mydomain.com -P "pk,mydomain,*" -I "pk,mydomain,*" -H 1 -u 10 -a connect -F 3 -v 3 -E -R none RPCPing v2.12. Copyright (C) Microsoft Corporation, 2002 OS Version is: 6.1, Service Pack 1 RPCPinging proxy server mail.mydomain.com with Echo Request Packet Sending ping to server Response from server received: 200 Pinging successfully completed in 93 ms 

外部

 >rpcping -t ncacn_http -s mail.mydomain.com -o RpcProxy=mail.mydomain.com -P "pk,mydomain,*" -I "pk,mydomain,*" -H 1 -u 10 -a connect -F 3 -v 3 -E -R none RPCPing v6.0. Copyright (C) Microsoft Corporation, 2002-2006 Enter password for RPC/HTTP proxy: RPCPing set Activity ID: {fc8411ba-2987-4175-b37b-801dc69d5ff9} RPCPinging proxy server mail.mydomain.com with Echo Request Packet Setting autologon policy to high WinHttpSetCredentials for target server called Error 87 : The parameter is incorrect. returned in WinHttpSetCredentials Ping failed 

我应该检查什么来解决Outlook Anywhere问题? 我正在使用Windows 7 SP1进行内部和外部访问。

编辑: Autodiscover.xml内容

 <?xml version="1.0"?> <Autodiscover xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006"> <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a"> <User> <DisplayName>John Doe</DisplayName> <LegacyDN>/o=MYDOMAIN/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=pk</LegacyDN> <DeploymentId>d35170cc-f3a7-42c5-9427-1f554a469126</DeploymentId> </User> <Account> <AccountType>email</AccountType> <Action>settings</Action> <Protocol> <Type>EXCH</Type> <Server>MS2010.MYDOMAIN.local</Server> <ServerDN>/o=MYDOMAIN/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=MS2010</ServerDN> <ServerVersion>738180DA</ServerVersion> <MdbDN>/o=MYDOMAIN/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=MS2010/cn=Microsoft Private MDB</MdbDN> <ASUrl>https://MS2010.MYDOMAIN.local/EWS/Exchange.asmx</ASUrl> <OOFUrl>https://MS2010.MYDOMAIN.local/EWS/Exchange.asmx</OOFUrl> <OABUrl>http://MS2010.MYDOMAIN.local/OAB/2c34c9f5-5521-4c8c-b684-538df815052a/</OABUrl> <UMUrl>https://MS2010.MYDOMAIN.local/EWS/UM2007Legacy.asmx</UMUrl> <Port>0</Port> <DirectoryPort>0</DirectoryPort> <ReferralPort>0</ReferralPort> <PublicFolderServer>MS2007.MYDOMAIN.local</PublicFolderServer> <AD>dc1.MYDOMAIN.local</AD> <EwsUrl>https://MS2010.MYDOMAIN.local/EWS/Exchange.asmx</EwsUrl> <EcpUrl>https://MS2010.MYDOMAIN.local/ecp/</EcpUrl> <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um> <EcpUrl-aggr>?p=personalsettings/EmailSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr> <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt> <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret> <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms> </Protocol> <Protocol> <Type>EXPR</Type> <Server>mail.mycompany.com</Server> <ASUrl>https://mail.mycompany.com/ews/exchange.asmx</ASUrl> <OOFUrl>https://mail.mycompany.com/ews/exchange.asmx</OOFUrl> <OABUrl>https://mail.mycompany.com/OAB/2c34c9f5-5521-4c8c-b684-538df815052a/</OABUrl> <UMUrl>https://mail.mycompany.com/ews/UM2007Legacy.asmx</UMUrl> <Port>0</Port> <DirectoryPort>0</DirectoryPort> <ReferralPort>0</ReferralPort> <SSL>On</SSL> <AuthPackage>Basic</AuthPackage> <CertPrincipalName>msstd:mail.mycompany.com</CertPrincipalName> <EwsUrl>https://mail.mycompany.com/ews/exchange.asmx</EwsUrl> <EcpUrl>https://mail.mycompany.com/owa/</EcpUrl> <EcpUrl-um>?p=customize/voicemail.aspx&amp;exsvurl=1</EcpUrl-um> <EcpUrl-aggr>?p=personalsettings/EmailSubscriptions.slab&amp;exsvurl=1</EcpUrl-aggr> <EcpUrl-mt>PersonalSettings/DeliveryReport.aspx?exsvurl=1&amp;IsOWA=&lt;IsOWA&gt;&amp;MsgID=&lt;MsgID&gt;&amp;Mbx=&lt;Mbx&gt;</EcpUrl-mt> <EcpUrl-ret>?p=organize/retentionpolicytags.slab&amp;exsvurl=1</EcpUrl-ret> <EcpUrl-sms>?p=sms/textmessaging.slab&amp;exsvurl=1</EcpUrl-sms> </Protocol> <Protocol> <Type>WEB</Type> <Port>0</Port> <DirectoryPort>0</DirectoryPort> <ReferralPort>0</ReferralPort> <Internal> <OWAUrl AuthenticationMethod="Basic, Fba">https://MS2010.MYDOMAIN.local/owa/</OWAUrl> <Protocol> <Type>EXCH</Type> <ASUrl>https://MS2010.MYDOMAIN.local/EWS/Exchange.asmx</ASUrl> </Protocol> </Internal> <External> <OWAUrl AuthenticationMethod="Fba">https://mail.mycompany.com/owa/</OWAUrl> <Protocol> <Type>EXPR</Type> <ASUrl>https://mail.mycompany.com/ews/exchange.asmx</ASUrl> </Protocol> </External> </Protocol> </Account> </Response> </Autodiscover> 

是“ https://MS2010.MYDOMAIN.local ”您尝试连接到外部的URL? 我可能正在读取您的自动发现错误,但这就是我所看到的。 如果是这样,那可能是你的问题。 您需要在任何位置的Outlook中设置外部域以匹配您的实际外部OWA地址。

http://technet.microsoft.com/en-us/library/aa996902.aspx

以这个命令为例:set-OutlookAnywhere -Identity:'CAS01'-ExternalHostName:'site.contoso.com'

实际上,如果您可以分享以下结果,可能会有所帮助:Get-outlookanywhere

其次,如何设置DNS? 我们可以看到“mydomain.com”吗?

您的防火墙上是否打开了端口443和80,并指向您的CAS服务器?

你的防火墙有一个可以共享的日志吗?

基本上,如果它不在外部工作,我倾向于认为它是下列之一:

DNS,你的防火墙或你的外部outlook的任何地方configuration。

新的RpcPing.exe是不同的

您的文本显示您正在使用两个不同版本的rpcping.exe。

我刚刚在我的Win10机器上遇到了同样的问题。 旧版v2.12来自Microsoft资源工具包,新版本v6.0随Win10一起发货。

我还没有解决这个问题,但我可以告诉你:新版本是不同的。 例如/F标志(你在你的问题中使用)的含义似乎已被重新定义。

再次尝试使用相同的版本。

我的系统上有不同的版本

我有两个版本在我的path。 (虽然新版本有优先权。)

 PS C:\> gcm rpcping.exe* | ft -AutoSize CommandType Name Version Source ----------- ---- ------- ------ Application RpcPing.exe 10.0.14393.0 C:\WINDOWS\system32\RpcPing.exe Application rpcping.exe 0.0.0.0 C:\Program Files (x86)\Windows Resource Kits\Tools\rpcping.exe 

有趣的怪癖:如果你忽略了'*',那么它不会显示你所有的版本:

 PS C:\> gcm rpcping.exe | ft -AutoSize CommandType Name Version Source ----------- ---- ------- ------ Application RpcPing.exe 10.0.14393.0 C:\WINDOWS\system32\RpcPing.exe 

旧版

此版本是Windows Server 2003资源工具包工具的一部分

此处的文档: KB831051: 如何使用RPC Ping实用程序来解决Outlook 2007和Outlook 2003中通过Internet的Internetfunction连接问题 (此处已存档)。

 PS C:\> sigcheck -vs 'C:\Program Files (x86)\Windows Resource Kits\Tools\rpcping.exe' Sigcheck v2.54 - File version and signature viewer Copyright (C) 2004-2016 Mark Russinovich Sysinternals - www.sysinternals.com c:\program files (x86)\windows resource kits\tools\rpcping.exe: Verified: Unsigned Link date: 02:06 2003-04-19 Publisher: n/a Company: n/a Description: n/a Product: n/a Prod version: n/a File version: n/a MachineType: 32-bit VT detection: 0/57 

VT链接: https : //www.virustotal.com/file/8c491f2a21badbc40567b8145d8840011bba9a90d30fbb603feeab778680d4ca/analysis/

新版本

这个版本是Win10的一部分。

此处的文档:TechNet,Windows Server 2012 R2和Windows Server 2012,命令行参考, Rpcping (已在此存档)

 PS C:\> sigcheck -vs 'C:\Windows\System32\RpcPing.exe' Sigcheck v2.54 - File version and signature viewer Copyright (C) 2004-2016 Mark Russinovich Sysinternals - www.sysinternals.com c:\windows\system32\RpcPing.exe: Verified: Signed Signing date: 10:26 2016-07-16 Publisher: Microsoft Windows Company: Microsoft Corporation Description: RPC Ping Utility Product: Microsoft« Windows« Operating System Prod version: 10.0.14393.0 File version: 10.0.14393.0 (rs1_release.160715-1616) MachineType: 64-bit VT detection: 0/26 

VT链接: https : //www.virustotal.com/file/38a97fe5038219ee981cb10d469084208525c390b2cccbc63207118165299848/analysis/