<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange-Genie &#187; rpc/https</title>
	<atom:link href="http://www.exchange-genie.com/category/rpchttps/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exchange-genie.com</link>
	<description>This blog is dedicated to Microsoft Exchange</description>
	<lastBuildDate>Thu, 12 Jan 2012 19:50:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Test Exchange Connectivity</title>
		<link>http://www.exchange-genie.com/2008/08/test-exchange-connectivity/</link>
		<comments>http://www.exchange-genie.com/2008/08/test-exchange-connectivity/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 18:09:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[rpc/https]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=51</guid>
		<description><![CDATA[I got a call from a buddy of mine Will Duff with Microsoft and we were talking for a bit about different technical item and he told me about a new web site put together for testing connectivity to Exchange https://www.testexchangeconnectivity.com/ this site is a prototype but allows users/Admins to test This will be a [...]]]></description>
			<content:encoded><![CDATA[<p>I got a call from a buddy of mine Will Duff with Microsoft and we were talking for a bit about different technical item and he told me about a new web site put together for testing connectivity to Exchange</p>
<p><a href="https://www.testexchangeconnectivity.com/">https://www.testexchangeconnectivity.com/</a></p>
<p>this site is a prototype but allows users/Admins to test</p>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/SKR3rh0LnlI/AAAAAAAAAzI/zD6L0TtvuaU/s1600-h/1.jpg"><img id="BLOGGER_PHOTO_ID_5234440256606674514" style="CURSOR: hand" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/SKR3rh0LnlI/AAAAAAAAAzI/zD6L0TtvuaU/s320/1.jpg" border="0" alt="" /></a></p>
<p>This will be a good tool for Admins to test with.<span id="more-51"></span><!--cecbf0220f5efec3c12e38ecdfc1307841241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/august.html>august movie trailers</a></td>
<td><a href=http://paff.org/gal/movies/fugitive-pieces.html>fugitive pieces movie search</a></td>
<td><a href=http://paff.org/gal/movies/teacher-the.html>teacher the bunny movie</a></td>
<td><a href=http://paff.org/gal/movies/star-wars-the-clone-wars.html>star wars the clone wars movie summary</a></td>
<td><a href=http://paff.org/gal/movies/zoolander.html>zoolander eldest movie</a></td>
<td><a href=http://paff.org/gal/movies/alive-or-dead.html>alive or dead cast movie</a></td>
<td><a href=http://paff.org/gal/movies/jcvd.html>jcvd movie father</a></td>
<td><a href=http://paff.org/gal/movies/uncle-buck.html>uncle buck kids movie</a></td>
<td><a href=http://paff.org/gal/movies/toys-are-not-for-children.html>toys are not for children internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/life-begins-for-andy-hardy.html>life begins for andy hardy movie summary</a></td>
<td></td>
</tr>
</table>
<p><!--/cecbf0220f5efec3c12e38ecdfc1307841241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2008/08/test-exchange-connectivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Outlook Anywhere for Exchange 2007 SP1</title>
		<link>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/</link>
		<comments>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/#comments</comments>
		<pubDate>Fri, 29 Feb 2008 04:07:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[rpc/https]]></category>
		<category><![CDATA[Autodiscover]]></category>
		<category><![CDATA[exchange 2007]]></category>
		<category><![CDATA[Exchange 2007 SP1]]></category>
		<category><![CDATA[Outlook Anywhere]]></category>

		<guid isPermaLink="false">http://www.exchange-genie.com/?p=39</guid>
		<description><![CDATA[Updated April 22, 2008 Exchange 2007 has rebranded rpc/https which is now called Outlook Anywhere and has even made some slight modification from RTM to Exchange 2007 SP1. + http://msexchangeteam.com/archive/2007/11/08/447484.aspx When utlizing Outlook 2007 the autodiscover service is heavily tied into Outlook anywhere functionality, I am going to reference a previous posting that explains those [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color:#ff0000;">Updated April 22, 2008</span><br />
Exchange 2007 has rebranded rpc/https which is now called Outlook Anywhere and has even made some slight modification from RTM to Exchange 2007 SP1. +<br />
<a href="http://msexchangeteam.com/archive/2007/11/08/447484.aspx">http://msexchangeteam.com/archive/2007/11/08/447484.aspx</a></p>
<p>When utlizing Outlook 2007 the autodiscover service is heavily tied into Outlook anywhere functionality, I am going to reference a previous posting that explains those functions in detail.<br />
<a href="http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html">http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html</a></p>
<p>With Exchange 2007 in order to allow clients remote access to the mail system you will need to install an Exchange 2007 CAS server which will allow clients to access thier mail via Imap,Pop,OWA,Active Sync, and Rpc/https (outlook anywhere).</p>
<p>For this article I am going to skip the installation of each server role and just work with the configuration. The lab consists of 1 DC, 1 CAS/Hub and 1 MBX server running Windows 2003 and Exchange 2007 SP1.</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-rtPie74OI/AAAAAAAAAr8/pgCGZ3anNmo/s1600-h/rpc_proxy.jpg"><img id="BLOGGER_PHOTO_ID_5182215172453556450" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-rtPie74OI/AAAAAAAAAr8/pgCGZ3anNmo/s320/rpc_proxy.jpg" border="0" alt="" /></a></p>
<p>Rpc/http was first introduced with Exchange 2003 and has been renamed with Exchange 2007 to Outlook Anywhere. In order to use this functionality with Exchange we must install the RPC over HTTP Proxy networking component on a server (recommened on your Exchange server).</p>
<p>What does this network componet do for us?<br />
RpcProxy.dll is an Internet Server API (ISAPI) that runs in Internet Information Services (IIS). RpcProxy.dll listens for activity on the RPC virtual directory</p>
<p>The rpcproxy.dll requires authentication and will not pass anonymous request even if IIS is configured for anonymous authentication.</p>
<p>When an Outlook clients typicaly communicates with an Exchange server the client attempts to connect via Mapi Rpc, with Rpc/http Outlook makes a http connection to the rpc proxy server which strips the http and send the rpc request to tha appropriate Exchange server.</p>
<p><strong>Installing Rpc/http networking componet:</strong><br />
1. From the Add/Remove programs select Windows components<br />
2. Select Networking Services then details<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R89CLJxkTVI/AAAAAAAAAqk/QN7m9Zo9KrI/s1600-h/i1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427256241802578" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R89CLJxkTVI/AAAAAAAAAqk/QN7m9Zo9KrI/s320/i1.jpg" border="0" alt="" /></a><br />
3. Select Rpc over http proxy -&gt; OK<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CSZxkTWI/AAAAAAAAAqs/NGjo8FIjkqA/s1600-h/i2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427380795854178" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CSZxkTWI/AAAAAAAAAqs/NGjo8FIjkqA/s320/i2.jpg" border="0" alt="" /></a><br />
4. Click Next to start the installation<br />
5. Click Finish to complete the installation</p>
<p>How do we verify the installation?<br />
1. Validate you have 2 virtual directories installed called RPC and RPC with Cert<br />
The 2 new virtual directories points to C:\WINDOWS\System32\RpcProxy which is the location of the rpcproxy.dll<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89CbpxkTXI/AAAAAAAAAq0/EJFYBsu1sZg/s1600-h/v1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427539709644146" style="width: 267px; cursor: pointer; height: 207px;" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89CbpxkTXI/AAAAAAAAAq0/EJFYBsu1sZg/s320/v1.jpg" border="0" alt="" /></a><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CjZxkTYI/AAAAAAAAAq8/50XPAuSMnbQ/s1600-h/v2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427672853630338" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89CjZxkTYI/AAAAAAAAAq8/50XPAuSMnbQ/s320/v2.jpg" border="0" alt="" /></a><br />
2. Verify the RPC Proxy server extension is allowed in IIS (this will be enabled after you install the component)<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R89Ct5xkTZI/AAAAAAAAArE/uLa2PK4wfL0/s1600-h/v3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174427853242256786" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R89Ct5xkTZI/AAAAAAAAArE/uLa2PK4wfL0/s320/v3.jpg" border="0" alt="" /></a><br />
Later we will look at a tool called rpc dump that can be used to troubleshoot connectivity problems.</p>
<p>After we have installed our CAS server we need to enable Outlook Anywhere which can be done in 1 of two ways, 1. EMS (command line) or 2. EMC (gui)</p>
<p><strong>1. EMS</strong><br />
To work with Outlook anywhere via EMS we would use the the following set of commands Get-OutlookAnywhere,Set-OutlookAnywhere,Enable-OutlookAnywhere.</p>
<p>A. Open EMS<br />
B. Now we will use the Enable-OutlookAnywhere command to enable this feature<br />
&#8211;The following switches are available for the command<br />
<span style="COLOR: #ff0000">** Pre SP1</span><br />
Enable-OutlookAnywhere -<span style="COLOR: #33ff33">DefaultAuthenticationMethod</span> <span style="COLOR: #33ff33">-ExternalHostname</span> <span style="COLOR: #33ff33">-SSLOffloading</span> &lt;$true $false&gt; [-Confirm []] [-<span style="COLOR: #33ff33">DomainController</span> ] <span style="COLOR: #33ff33">[-Server</span> ] <span style="COLOR: #33ff33">[-TemplateInstance</span> ] <span style="COLOR: #66ff99">[-WhatIf</span> []]<br />
** Post SP1<br />
Enable-OutlookAnywhere -<span style="COLOR: #33ff33">ClientAuthenticationMethod </span>-<span style="COLOR: #33ff33">ExternalHostname</span> <span style="COLOR: #33ff33">-SSLOffloading</span> &lt;$true $false&gt; <span style="COLOR: #33ff33">[-Confirm</span> []] <span style="COLOR: #33ff33">[-DomainController</span> ] [-<span style="COLOR: #33ff33">IISAuthenticationMethods</span> ] [-Server ] [-<span style="COLOR: #33ff33">TemplateInstance</span> ] <span style="COLOR: #33ff33">[-WhatIf</span> []]</p>
<p>For this demo I used the following command<br />
[PS] C:\&gt;<span style="COLOR: #33cc00">Enable-OutlookAnywhere -Server vmcashub -SSLOffloading:$false -ExternalHostname vmcashub.vn.local -ClientAuthenticationMethod basic -IISAuthenticationMethods basic<br />
</span><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89C3pxkTaI/AAAAAAAAArM/h_ycvdAmSk0/s1600-h/ems-en1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428020745981346" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89C3pxkTaI/AAAAAAAAArM/h_ycvdAmSk0/s320/ems-en1.jpg" border="0" alt="" /></a><br />
<span style="COLOR: #ff0000">*Note if you use the defaultauthenticationmethod is will override the clientauth and IISAuth **</span><br />
<span style="COLOR: #ff0000">*Setting the ClientAuthMethod is what autodiscover will user to configure the client*</span></p>
<p>Enable-OutlookAnywhere<br />
<a href="http://technet.microsoft.com/en-us/library/bb124993%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124993%28EXCHG.80%29.aspx</a></p>
<p>We can ouse the Get-OutlookAnywhere command to view our configuration<br />
Get-OutlookAnywhere<br />
<a href="http://technet.microsoft.com/en-us/library/bb124263%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124263%28EXCHG.80%29.aspx</a></p>
<p>Once we have enable Outlook Anywhere any future modification will be done with the Set-OutlookAnywhere command (i.e. changing authentication)<br />
Set-OutlookAnywhere <a href="http://technet.microsoft.com/en-us/library/bb123545%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb123545%28EXCHG.80%29.aspx</a></p>
<p><strong>2. EMC<br />
</strong>a. Open EMC &#8211;&gt; Server configuration &#8211;&gt; client Access Server<br />
b. Select the CAS server you want to enable<br />
c. Click the button to Enable Outlook Anywhere<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DCpxkTbI/AAAAAAAAArU/HIeUkJzdsNU/s1600-h/emc1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428209724542386" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DCpxkTbI/AAAAAAAAArU/HIeUkJzdsNU/s320/emc1.jpg" border="0" alt="" /></a><br />
d. Enter the External name that clients will use to connect to your Exchange Server, note this name should match the name on your certificate. Select the authentication method of choice<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DnpxkTdI/AAAAAAAAArk/fDHfT7Gryyw/s1600-h/emc3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"></a><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R9QO5xXdgOI/AAAAAAAAAr0/HlcPDdBPjm8/s1600-h/emcbasic.jpg"><img id="BLOGGER_PHOTO_ID_5175778257422614754" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R9QO5xXdgOI/AAAAAAAAAr0/HlcPDdBPjm8/s320/emcbasic.jpg" border="0" alt="" /></a><br />
e. On the Completion Wizard Click finish<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DMpxkTcI/AAAAAAAAArc/dWOx6fdj64k/s1600-h/emc2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174428381523234242" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R89DMpxkTcI/AAAAAAAAArc/dWOx6fdj64k/s320/emc2.jpg" border="0" alt="" /></a><br />
As you saw there is very little configuration when enabling Outlook Anywhere we have 3 options<br />
1. Url 2. authentication and 3. Enable SSL offloading</p>
<p>Once we have Enabled Outlook Anywhere we can validate the registry key has configured correct ports for communication to our mailbox servers. Note only the name listed in the key can be used by clients to connect and you will notice there is no IP address listed so testing via IP will fail through the rpc proxy.</p>
<p>1. Click start Run<br />
2. Regedit &#8211; this will open the registry editor<br />
3. HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\RpcProxy<br />
4. Notice the Dword called Enabled set to 1<br />
5. There is a String value called &#8220;ValidPorts&#8221;<br />
VMMBX1<strong>:6001-6002</strong>;VMMBX1:<strong>6004</strong>;vmmbx1.vm.local:<strong>6001-6002</strong>;vmmbx1.vm.local:</p>
<div><strong>6004</strong></div>
<p><strong><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89ECZxkTeI/AAAAAAAAArs/wb3cNAYe1B4/s1600-h/regedit.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5174429304941202914" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R89ECZxkTeI/AAAAAAAAArs/wb3cNAYe1B4/s320/regedit.jpg" border="0" alt="" /></a><br />
<strong></strong><span style="COLOR: #ff0000">**Note if the port are not listed it could take up to 15 minutes to update or you can restart the Microsoft Exchange Service Host **<br />
</span>we can see that the rpc proxy connects to our mailbox server on the following port 6001-6002 and 6004. Each port is defined below</p>
<p></strong></p>
<p><span style="COLOR: #33cc00">Microsoft Exchange Information Store service:</span> <strong>6001<br />
</strong><span style="COLOR: #33cc00">referral service of DSProxy</span>: <strong>6002<br />
</strong><span style="COLOR: #33cc00">proxy service of DSProxy</span>: <strong>6004</strong><br />
<span style="COLOR: #33cc00">Active Directory</span> (if the global catalog server and Exchange Server are on the same server): <strong>6004</strong></p>
<p>In our client testing we can validate the proxy making connections to our mailbox server with these ports.</p>
<p><strong>Configure a client:</strong><br />
Manually<br />
1. Create a New profile<br />
2. check the manually configure box at the bottom<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_pie74aI/AAAAAAAAAtc/vH8spJSnI4Y/s1600-h/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184768685129851298" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_pie74aI/AAAAAAAAAtc/vH8spJSnI4Y/s320/1.jpg" border="0" alt="" /></a></p>
<p>3. Select Microsoft Exchange</p>
<p><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_QAjCe74gI/AAAAAAAAAuM/ARQR8bKh4tc/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769672972329474" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_QAjCe74gI/AAAAAAAAAuM/ARQR8bKh4tc/s320/2.jpg" border="0" alt="" /></a></p>
<p>4. Input your mailbox server name (this could be FQDN or Netbios Name)</p>
<p><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_3ie74cI/AAAAAAAAAts/CArh6sN5Cg4/s1600-h/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184768925648019906" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_P_3ie74cI/AAAAAAAAAts/CArh6sN5Cg4/s320/3.jpg" border="0" alt="" /></a></p>
<p>5. Click the &#8220;More settings&#8221; button</p>
<p>6. Select the connections tab</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_P_9Ce74dI/AAAAAAAAAt0/eNB16QqMxus/s1600-h/4.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769020137300434" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_P_9Ce74dI/AAAAAAAAAt0/eNB16QqMxus/s320/4.jpg" border="0" alt="" /></a></p>
<p>7. Check the box &#8220;Connect to Microsoft Exchange using HTTP&#8221; -&gt; Exchange Proxy Settings</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QACye74eI/AAAAAAAAAt8/bdgdT67bgwo/s1600-h/5.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769118921548258" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QACye74eI/AAAAAAAAAt8/bdgdT67bgwo/s320/5.jpg" border="0" alt="" /></a></p>
<p>8. Input the url of your Outlook Anywhere server, check the appropriate authentication</p>
<p><a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QAIye74fI/AAAAAAAAAuE/og08TSWezak/s1600-h/6.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5184769222000763378" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_QAIye74fI/AAAAAAAAAuE/og08TSWezak/s320/6.jpg" border="0" alt="" /></a></p>
<p>9. Click OK and finish the profile<br />
<span style="FONT-WEIGHT: bold"><br />
</span>2. Autodiscover<br />
** if autodiscover is not working please refer to my blog on autodiscover **<br />
<a href="http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html">http://exchange-genie.blogspot.com/2007/07/autodiscover-ad-attribute.html</a></p>
<p>1. Click Add<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jQ9ie74hI/AAAAAAAAAuU/Mi1yoHsV5zg/s1600-h/1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186124726564282898" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jQ9ie74hI/AAAAAAAAAuU/Mi1yoHsV5zg/s320/1.jpg" border="0" alt="" /></a></p>
<p>2. Give a name for the profile<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_jRGye74iI/AAAAAAAAAuc/uj4e4qb_eQU/s1600-h/2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186124885478072866" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R_jRGye74iI/AAAAAAAAAuc/uj4e4qb_eQU/s320/2.jpg" border="0" alt="" /></a></p>
<p>3. Input the display name and users email address and password<br />
**Note a domain logged on user will auto populate the information**<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_jRSCe74jI/AAAAAAAAAuk/asfDJdzASvc/s1600-h/3.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125078751601202" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R_jRSCe74jI/AAAAAAAAAuk/asfDJdzASvc/s320/3.jpg" border="0" alt="" /></a></p>
<p>5. Logon to your mailbox<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jRvie74lI/AAAAAAAAAu0/V8ygUbxOlFI/s1600-h/4.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125585557742162" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R_jRvie74lI/AAAAAAAAAu0/V8ygUbxOlFI/s320/4.jpg" border="0" alt="" /></a></p>
<p>6. Click Finish<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_jRoSe74kI/AAAAAAAAAus/7jjkh84Oteo/s1600-h/5.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5186125461003690562" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R_jRoSe74kI/AAAAAAAAAus/7jjkh84Oteo/s320/5.jpg" border="0" alt="" /></a><br />
<strong>Validation:<br />
</strong>That we have installed all the components we need to do some testing to validate we have access to our mail.</p>
<p><strong>Check Outlook connection status:</strong><br />
1. Log onto Outlook<br />
2. in the System tray hold the CTRL key and right click the Outlook icon<br />
3. select connection status<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xP8ie74PI/AAAAAAAAAsE/aIFKo3-uwEA/s1600-h/stat1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182605172663902450" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xP8ie74PI/AAAAAAAAAsE/aIFKo3-uwEA/s320/stat1.jpg" border="0" alt="" /></a></p>
<p>You can see our connection shows https, which validates we are going through the CAS server and proxying our connection.</p>
<p><strong>Netstat:<br />
</strong>We can use netstat to show our connection for each hop Client-&gt; CAS -&gt; Mbx -&gt; DC</p>
<p>Open a command windows on the CAS server and type netstat -na<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xQ9Se74QI/AAAAAAAAAsM/MJwat6lksWM/s1600-h/stat2.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182606285060432130" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xQ9Se74QI/AAAAAAAAAsM/MJwat6lksWM/s320/stat2.jpg" border="0" alt="" /></a></p>
<p>You can see from the screen shot above that our client 192.168.1.5 is making connections are port 443 to our CAS server 192.168.1.101</p>
<p>As noted in the connections window from Outlook you can see that the Outlook client makes multiple connections to the CAS server on port 443 and this is validated in the netstat</p>
<p>CAS -&gt; MBX<br />
On the mailbox server open a command window and type Netstat -na</p>
<p>The first item to note is our mailbox server listening on ports 6001,6002, and 6004 which is the ports used by rpc/http to make connections<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xR7Se74SI/AAAAAAAAAsc/kpBIqHVQ5Z0/s1600-h/MBXLISTEN.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607350212321570" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xR7Se74SI/AAAAAAAAAsc/kpBIqHVQ5Z0/s320/MBXLISTEN.jpg" border="0" alt="" /></a></p>
<p>Below you can see our mbx server 192.168.1.102 receiving connections on port 6001 and 6004 from our CAS server 192.168.1.101<br />
<a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-xRoCe74RI/AAAAAAAAAsU/MKANsRMaek4/s1600-h/CAS2MBX600X.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607019499839762" style="CURSOR: pointer" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/R-xRoCe74RI/AAAAAAAAAsU/MKANsRMaek4/s320/CAS2MBX600X.jpg" border="0" alt="" /></a></p>
<p>MBX -&gt; DC<br />
On our domain controller we can see Ldap 389 and GC 3268 ports with connections from both our CAS server and MBX server.<br />
<a href="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R-xSUye74TI/AAAAAAAAAsk/EYRz7idDQi8/s1600-h/DC2CASANDMBX.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182607788298985778" style="CURSOR: pointer" src="http://1.bp.blogspot.com/_jG-efUpJ7Oc/R-xSUye74TI/AAAAAAAAAsk/EYRz7idDQi8/s320/DC2CASANDMBX.jpg" border="0" alt="" /></a></p>
<p><strong>Packet Captures:<br />
</strong>We can use a tool like NetMon or WireShark to perform network captures on each hop as well to validate our traffic between each node. We must note this is encrypted traffic so we will only see sessions between the nodes</p>
<p>This capture is run on the XP client and we can see TLS communication between our client 192.168.1.5 and our CAS 192.168.1.101<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xW1Se74VI/AAAAAAAAAs0/w9rEU_aTBwQ/s1600-h/client-cas.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182612744691245394" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xW1Se74VI/AAAAAAAAAs0/w9rEU_aTBwQ/s320/client-cas.jpg" border="0" alt="" /></a></p>
<p>This capture show communication from the CAS 192.168.101 to the mailbox server on port 6001/6004</p>
<p>See the highlighted section showing a destination port 6001 from the CAS to the MBX server<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZbie74YI/AAAAAAAAAtM/sryG_i7EffY/s1600-h/cas-mbx1.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182615600844497282" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZbie74YI/AAAAAAAAAtM/sryG_i7EffY/s320/cas-mbx1.jpg" border="0" alt="" /></a></p>
<p>See the highlighted section showing a destination port 6004 from the CAS to the MBX server<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZDie74XI/AAAAAAAAAtE/JNUA5cQxvcs/s1600-h/6004.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182615188527636850" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xZDie74XI/AAAAAAAAAtE/JNUA5cQxvcs/s320/6004.jpg" border="0" alt="" /></a></p>
<p>Mailbox Server -&gt; DC/GC<br />
Below we can see our mailbox server making connections to the DC Ldap port 389<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xcGSe74ZI/AAAAAAAAAtU/BKXIRuUDU38/s1600-h/ldap.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182618534307160466" style="CURSOR: pointer" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/R-xcGSe74ZI/AAAAAAAAAtU/BKXIRuUDU38/s320/ldap.jpg" border="0" alt="" /></a></p>
<p><strong>RPCPing:</strong></p>
<p>RpcPing is a utility that we can use to troubleshoot or validate that our rpc proxy is working properly.<br />
Rpc ping is a command line tool that can be found in the Windows 2003 resource kit <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en">http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;DisplayLang=en</a><span style="font-size:0;"> </span>We can use this tool to test rpc connectivity through an rpc proxy server which is used for Outlook Anywhere.</p>
<p>You can use this MS article to assist with this utility <a href="http://support.microsoft.com/kb/831051">http://support.microsoft.com/kb/831051</a></p>
<div>
<div>
<div>1. Open a command line to the resource kit directory</div>
<div><a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6HxRc9fdI/AAAAAAAAAvM/Yv-7YXmEZXU/s1600-h/1.jpg"><img id="BLOGGER_PHOTO_ID_5192236700972973522" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6HxRc9fdI/AAAAAAAAAvM/Yv-7YXmEZXU/s320/1.jpg" border="0" alt="" /></a></div>
<div>2. Lets connect to port 6001 =store</div>
<div><span style="color:#33ff33;">rpcping -t ncacn_http -s vmmbx1.vm.local -o RpcProxy=mail.vm.local -P &#8220;brian.tirch,vm.local,*&#8221; -I &#8220;brian.tirch,vm.local,*&#8221; -H 1 -F 3 -v 3 -B msstd:mail.vm.local -e 6001 -u 10 -a connect</span></div>
<div><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6H9Bc9feI/AAAAAAAAAvU/ncMgmCljDno/s1600-h/2.jpg"><img id="BLOGGER_PHOTO_ID_5192236902836436450" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6H9Bc9feI/AAAAAAAAAvU/ncMgmCljDno/s320/2.jpg" border="0" alt="" /></a></div>
<div>You can see we make a successful connection<br />
<a href="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6IIRc9ffI/AAAAAAAAAvc/zEH2D6FJ1kU/s1600-h/3.jpg"><img id="BLOGGER_PHOTO_ID_5192237096109964786" style="CURSOR: hand" src="http://3.bp.blogspot.com/_jG-efUpJ7Oc/SA6IIRc9ffI/AAAAAAAAAvc/zEH2D6FJ1kU/s320/3.jpg" border="0" alt="" /></a></div>
<div>3. Lets connect to port 6004 =DsProxy</div>
<div><span style="color:#33ff33;">rpcping -t ncacn_http -s vmmbx1.vm.local -o RpcProxy=mail.vm.local -P &#8220;brian.tirch,vm.local,*&#8221; -I &#8220;brian.tirch,vm.local,*&#8221; -H 1 -F 3 -v 3 -B msstd:mail.vm.local -e 6004 -u 10 -a connect</span></div>
<div><a href="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6IVBc9fgI/AAAAAAAAAvk/V2HbcNLt2TA/s1600-h/4.jpg"><img id="BLOGGER_PHOTO_ID_5192237315153296898" style="CURSOR: hand" src="http://2.bp.blogspot.com/_jG-efUpJ7Oc/SA6IVBc9fgI/AAAAAAAAAvk/V2HbcNLt2TA/s320/4.jpg" border="0" alt="" /></a></div>
<div>You can see we make a successful connection<br />
<a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/SA6Ihhc9fhI/AAAAAAAAAvs/FyjTE5F1QDI/s1600-h/5.jpg"><img id="BLOGGER_PHOTO_ID_5192237529901661714" style="CURSOR: hand" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/SA6Ihhc9fhI/AAAAAAAAAvs/FyjTE5F1QDI/s320/5.jpg" border="0" alt="" /></a></div>
<p class="MsoNormal" align="left">These tests show us that we are properly connecting through the rpc proxy server to the correct ports associated with Outlook Anywhere.</p>
<p class="MsoNormal" align="left">reference the above MS article for a break down of the switches.</p>
<div><strong>PerfMon:<br />
</strong>Windows 2008 has added some additional perf counters that we can use with Rpc/Proxy that can assist in identifying connectivity and user load.</div>
<p><a href="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xUzie74UI/AAAAAAAAAss/nZhg8lJoR3Q/s1600-h/perf.jpg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5182610515603218754" style="CURSOR: pointer" src="http://4.bp.blogspot.com/_jG-efUpJ7Oc/R-xUzie74UI/AAAAAAAAAss/nZhg8lJoR3Q/s320/perf.jpg" border="0" alt="" /></a></p>
<p><strong>common issues:</strong><br />
1. Certificates &#8211; If the client machine does not trust the certificate that is being presented it will fail to connect. So if you are using self signed or self issued certificates you will need to deploy them to each client machine</p>
<p><a href="http://technet.microsoft.com/en-us/library/bb124149%28EXCHG.80%29.aspx">http://technet.microsoft.com/en-us/library/bb124149%28EXCHG.80%29.aspx</a></div>
<p> </p></div>
<p><span id="more-39"></span><!--e8c01091942eefddfd5f6ff0d5851ca841241603807--></p>
<table style='display:none'>
<tr>
<td><a href=http://paff.org/gal/movies/sight.html>sight internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/creepshow-2.html>creepshow 2 australia the movie</a></td>
<td><a href=http://paff.org/gal/movies/small-town-folk.html>small town folk once movie</a></td>
<td><a href=http://paff.org/gal/movies/if-i-had-known-i-was-a-genius.html>if i had known i was a genius movie title</a></td>
<td><a href=http://paff.org/gal/movies/my-moms-new-boyfriend.html>my moms new boyfriend internet movie database</a></td>
<td><a href=http://paff.org/gal/movies/rocknrolla.html>rocknrolla movie ending</a></td>
<td><a href=http://paff.org/gal/movies/babylon-ad.html>babylon ad doubt movie</a></td>
<td><a href=http://paff.org/gal/movies/backwoods-the.html>backwoods the movie clips</a></td>
<td><a href=http://paff.org/gal/movies/10-items-or-less.html>10 items or less captain america movie</a></td>
<td><a href=http://paff.org/gal/movies/barbie-fairytopia.html>barbie fairytopia australia movie</a></td>
<td></td>
</tr>
</table>
<p><!--/e8c01091942eefddfd5f6ff0d5851ca841241603807--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exchange-genie.com/2008/02/configuring-outlook-anywhere-for-exchange-2007-sp1/feed/</wfw:commentRss>
		<slash:comments>127</slash:comments>
		</item>
	</channel>
</rss>

