Exchange server 2007自动发现服务原理及调试(2…

2008-02-23 06:15:52来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

Autodiscover服务收到请求后会做出如下回复:
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006"> <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a"> <User> <DisplayName>First Last</DisplayName> <LegacyDN>/o=contoso/ou=First Administrative Group/cn=Recipients/cn=iuser885646</LegacyDN> <DeploymentId>644560b8-a1ce-429c-8ace-23395843f701</DeploymentId> </User> <Account> <AccountType>email</AccountType> <Action>settings</Action> <Protocol> <Type>EXCH</Type> <Server>MBX-SERVER.mail.internal.contoso.com</Server> <ServerDN>/o=contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=MBX-SERVER</ServerDN> <ServerVersion>72008287</ServerVersion> <MdbDN>/o=contoso/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=MBX-SERVER/cn=Microsoft Private MDB</MdbDN> <ASUrl>https://mail.contoso.com/ews/exchange.asmx</ASUrl> <OOFUrl>https://mail.contoso.com/ews/exchange.asmx</OOFUrl> <UMUrl>https://mail.contoso.com/unifiedmessaging/service.asmx</UMUrl> <OABUrl>https://mail.contoso.com/OAB/d29844a9-724e-468c-8820-0f7b345b767b/</OABUrl> </Protocol> <Protocol> <Type>EXPR</Type> <Server>Exchange.contoso.com</Server> <ASUrl>https://mail.contoso.com/ews/exchange.asmx</ASUrl> <OOFUrl>https://mail.contoso.com/ews/exchange.asmx</OOFUrl> <UMUrl>https://mail.contoso.com/unifiedmessaging/service.asmx</UMUrl> <OABUrl>https://mail.contoso.com/OAB/d29844a9-724e-468c-8820-0f7b345b767b/</OABUrl> </Protocol> <Protocol> <Type>WEB</Type> <Internal> <OWAUrl AuthenticationMethod="Ntlm, WindowsIntegrated">https://cas-01-server.mail.internal.contoso.com/owa</OWAUrl> <OWAUrl AuthenticationMethod="Ntlm, WindowsIntegrated">https://cas-02-server.mail.internal.contoso.com/owa</OWAUrl> <OWAUrl AuthenticationMethod="Basic">https://cas-04-server.mail.internal.contoso.com/owa</OWAUrl> <OWAUrl AuthenticationMethod="Ntlm, WindowsIntegrated">https://cas-05-server.mail.internal.contoso.com/owa</OWAUrl> </Internal> </Protocol> </Account> </Response> </Autodiscover>
我们能够看到在此回复的信息中含有配置客户端所需要的信息。Outlook客户端根据此信息进行用户的配置,OAB 的下载,忙闲信息的同步等等。
我周详看一下此xml信息能够发现分为三部分:
<type>EXCH<type>部分:客户端在公司内网(internal)的配置信息
<type>EXPR<type>部分:outlook anywhere配置信息
<type>WEB<type>部分:客户端在external时的配置信息
第二种情况:用户没有加入域或用户不在公司内部(无法直接连接DC)
此环境中的自动发现服务工作原理如下图所示:

www.bitsCN.com



4 external network中自动发现服务的执行过程
首先客户端还是会试着首先寻找SCP,但结果是失败的,因为他连接不到DC
但是客户端如何去继续寻找autodiscover service呢?在这种情况下他会依次尝试连接以下地址:(注意以下地址的特点)
https://contoso.com/autodiscover/autodiscover.xml
https://autodiscover.contoso.com/autodiscover/autodiscover.xml
http://contoso.com/autodiscover/autodiscover.xml
http://autodiscover.contoso.com/autodiscover.xml
直到返回成功的信息。假如这四个连接尝试全部失败,则用户不能下载到OAB,忙闲信息,OOF也不能正常工作。我们会看到如下错误信息:
-------------------------------------------------------------------------
15:51:59 Microsoft Exchange 脱机通讯簿
15:51:59 未下载脱机通讯簿文档。很难找到服务器(URL)。
15:51:59 0X8004010F
------------------------------------------------
我们能够在打开outlook调试模式的环境下看到整个周详的执行过程。开启outlook调试模式过程:工具-选项-其他-

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇: 在Exchange 2003中恢复删除的邮件

下一篇: Exchange Server 2007 LCR介绍