<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ant Drewery &#187; Active Directory</title>
	<atom:link href="http://blog.drewery.net/category/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.drewery.net</link>
	<description>IT infrastructure, support and strategy</description>
	<lastBuildDate>Thu, 01 Dec 2011 09:47:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.drewery.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ant Drewery &#187; Active Directory</title>
		<link>http://blog.drewery.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.drewery.net/osd.xml" title="Ant Drewery" />
	<atom:link rel='hub' href='http://blog.drewery.net/?pushpress=hub'/>
		<item>
		<title>VBScript to remove specific SMTP proxy addresses</title>
		<link>http://blog.drewery.net/2006/11/03/vbscript-to-remove-specific-smtp-proxy-addresses/</link>
		<comments>http://blog.drewery.net/2006/11/03/vbscript-to-remove-specific-smtp-proxy-addresses/#comments</comments>
		<pubDate>Fri, 03 Nov 2006 09:42:37 +0000</pubDate>
		<dc:creator>Anthony Drewery</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.drewery.net/blog/2006/11/03/vbscript-to-remove-specific-smtp-proxy-addresses/</guid>
		<description><![CDATA[This script will remove proxy addresses for a specific SMTP domain from a specified list of users. You can change the domain by editing the strSMTPDomain value in the script. The input file called users.txt is a list of display names. For my needs I reformatted the output from my previous script. By specifying the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=127&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This script will remove proxy addresses for a specific SMTP domain from a specified list of users. You can change the domain by editing the strSMTPDomain value in the script. The input file called users.txt is a list of display names. For my needs I reformatted the output from my <a href="http://www.drewery.net/blog/2006/10/27/vbscript-to-export-smtp-proxy-addresses/" target="_blank">previous script</a>. By specifying the domain and the list of users it reduces the chances of any mistakes.</p>
<p>The script takes the input file and processes each listed user. It checks all the proxy addresses for the user and deletes any that match the specified domain. Two output files are produced. The first is a processing log which lists whether each user was found and how many addresses were removed for that user. The second file is a log of all addresses removed which can be used as a reference in the event of a mistake.</p>
<p>You can download the script here: <a id="p128" href="http://www.drewery.net/blog/wp-content/uploads/2006/11/StripLegacyProxyAddresses.vbs.txt">StripLegacyProxyAddresses.vbs.txt</a> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/antdrewery.wordpress.com/127/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/antdrewery.wordpress.com/127/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/antdrewery.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/antdrewery.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/antdrewery.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/antdrewery.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/antdrewery.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/antdrewery.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/antdrewery.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/antdrewery.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/antdrewery.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/antdrewery.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/antdrewery.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/antdrewery.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/antdrewery.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/antdrewery.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=127&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.drewery.net/2006/11/03/vbscript-to-remove-specific-smtp-proxy-addresses/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9ac112d149b667282aee5e6cc74ecf5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ant</media:title>
		</media:content>
	</item>
		<item>
		<title>VBScript to export SMTP proxy addresses</title>
		<link>http://blog.drewery.net/2006/10/27/vbscript-to-export-smtp-proxy-addresses/</link>
		<comments>http://blog.drewery.net/2006/10/27/vbscript-to-export-smtp-proxy-addresses/#comments</comments>
		<pubDate>Fri, 27 Oct 2006 12:21:40 +0000</pubDate>
		<dc:creator>Anthony Drewery</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.drewery.net/blog/2006/10/27/vbscript-to-export-smtp-proxy-addresses/</guid>
		<description><![CDATA[Part of the way my current employer has grown is through acquisitions and mergers. Consequently we&#8217;ve been supporting more than 10 legacy SMTP domains from various shipping lines. Now that we&#8217;re decommissioning our systems it&#8217;s time to do some housekeeping and discontinue these domains. The first step was to check that all objects had their [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=124&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Part of the way my current employer has grown is through acquisitions and mergers. Consequently we&#8217;ve been supporting more than 10 legacy SMTP domains from various shipping lines. Now that we&#8217;re decommissioning our systems it&#8217;s time to do some housekeeping and discontinue these domains.</p>
<p>The first step was to check that all objects had their primary SMTP address set to the main domain name. This was done more than a year ago but needed to be reconfirmed. A custom LDAP query that included the syntax&nbsp; (!mail=*@our_main_domain.com) sufficed.</p>
<p>Next I wrote a script that exported all SMTP proxy addresses for user objects. This was to be used as a reference in the unlikely event that problems arose down the line. The LDAP query can easily be modified for groups, contacts and public folders. It&#8217;s not the most exciting of scripts but it does the job. You can download it here: <a id="p125" href="http://www.drewery.net/blog/wp-content/uploads/2006/10/AllSMTPProxies.vbs.txt">AllSMTPProxies.vbs.txt</a></p>
<p>As I wanted to be very specific and meticulous in the removal of legacy proxy addresses I wrote another script that targets a specific SMTP domain. In this script you can specify the domain by changing the strSMTPDomain value. The script will then only export the names and addresses for proxies that match the SMTP domain. You can download the script here: <a id="p126" href="http://www.drewery.net/blog/wp-content/uploads/2006/10/SpecificSMTPProxies.vbs.txt">SpecificSMTPProxies.vbs.txt</a></p>
<p>In my next post I&#8217;ll be using PutEx in a script to remove proxy addresses from AD objects. </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/antdrewery.wordpress.com/124/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/antdrewery.wordpress.com/124/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/antdrewery.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/antdrewery.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/antdrewery.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/antdrewery.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/antdrewery.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/antdrewery.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/antdrewery.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/antdrewery.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/antdrewery.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/antdrewery.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/antdrewery.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/antdrewery.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/antdrewery.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/antdrewery.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=124&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.drewery.net/2006/10/27/vbscript-to-export-smtp-proxy-addresses/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9ac112d149b667282aee5e6cc74ecf5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ant</media:title>
		</media:content>
	</item>
		<item>
		<title>VBScript to output the logon script assigned to each user</title>
		<link>http://blog.drewery.net/2006/10/24/vbscript-to-output-the-logon-script-assigned-to-each-user/</link>
		<comments>http://blog.drewery.net/2006/10/24/vbscript-to-output-the-logon-script-assigned-to-each-user/#comments</comments>
		<pubDate>Tue, 24 Oct 2006 08:25:33 +0000</pubDate>
		<dc:creator>Anthony Drewery</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://www.drewery.net/blog/2006/10/24/vbscript-to-output-the-logon-script-assigned-to-each-user/</guid>
		<description><![CDATA[With some guidance from my colleague Ben Christian I&#8217;ve been working on several VBScripts to assist with the decommissioning of our systems. The scripts range from simple reporting to modifying objects. By posting them in this blog someone else may get some use out of them. They are posted &#34;as is&#34; and I accept no [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=121&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With some guidance from my colleague <a href="http://www.benchristian.com" target="_blank">Ben Christian</a>  I&#8217;ve been working on several VBScripts to assist with the decommissioning of our systems. The scripts range from simple reporting to modifying objects. By posting them in this blog someone else may get some use out of them. They are posted &quot;as is&quot; and I accept no liability arising from the use of them.</p>
<p>This script simply creates a tab delimited text file showing all users with their logon script and object&#8217;s distinguished name. You&#8217;ll be notified by a prompt when the script has finished processing. Simply open the resulting text file with Excel to see the information formatted into columns. You could modify the script to output to a CSV file if you don&#8217;t use commas in your display names. Download the script here: <a id="p122" href="http://www.drewery.net/blog/wp-content/uploads/2006/10/WhichLoginScript.vbs.txt">WhichLoginScript.vbs.txt</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/antdrewery.wordpress.com/121/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/antdrewery.wordpress.com/121/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/antdrewery.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/antdrewery.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/antdrewery.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/antdrewery.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/antdrewery.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/antdrewery.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/antdrewery.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/antdrewery.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/antdrewery.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/antdrewery.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/antdrewery.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/antdrewery.wordpress.com/121/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/antdrewery.wordpress.com/121/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/antdrewery.wordpress.com/121/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=121&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.drewery.net/2006/10/24/vbscript-to-output-the-logon-script-assigned-to-each-user/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9ac112d149b667282aee5e6cc74ecf5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ant</media:title>
		</media:content>
	</item>
		<item>
		<title>Updating BlackBerry Enterprise Server permissions to support store.exe changes</title>
		<link>http://blog.drewery.net/2006/08/25/updating-blackberry-enterprise-server-permissions-to-support-storeexe-changes/</link>
		<comments>http://blog.drewery.net/2006/08/25/updating-blackberry-enterprise-server-permissions-to-support-storeexe-changes/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 13:48:30 +0000</pubDate>
		<dc:creator>Anthony Drewery</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.drewery.net/blog/2006/08/25/updating-blackberry-enterprise-server-permissions-to-support-storeexe-changes/</guid>
		<description><![CDATA[This is fairly old news now but something I thought worth documenting as it affected our two BES installations. Microsoft have changed the Full Mailbox Access permissions in Exchange so that it no longer implies Send As rights. Recent fixes for store.exe include this change. When applied it affects 3rd party applications like BlackBerry Enterprise [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=110&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is fairly old news now but something I thought worth documenting as it affected our two <a href="http://www.blackberry.com/products/software/server/exchange/index.shtml" target="_blank">BES</a>  installations.</p>
<p>Microsoft have <a href="http://support.microsoft.com/kb/895949/" target="_blank">changed</a>  the Full Mailbox Access permissions in Exchange so that it no longer implies Send As rights. Recent <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;916803" target="_blank">fixes</a>  for store.exe include this change. When applied it affects 3rd party applications like BlackBerry Enterprise Server which previously only used Full Mailbox Access rights for the application account.</p>
<p>You can avoid disruption by a small amount of preparation before applying the latest Exchange fixes. You&#8217;ll need to grant the BES admin account Send As rights on the Active Directory user accounts of your BB users. You could do this individually but it would be easier to do it at OU level. You&#8217;ll need to take into account the inheritance configuration on your OUs to decide the best location(s) to set the permissions. To see the Security tab on your OU properties you&#8217;ll need to enable the Advanced Features in Active Directory Users &amp; Computers. This is done via the View menu:</p>
<p>&nbsp;<a href="http://www.drewery.net/blog/wp-content/uploads/2006/08/advanced.jpg" title="advanced.jpg"><img src="http://www.drewery.net/blog/wp-content/uploads/2006/08/advanced.jpg" alt="advanced.jpg" width="389" height="287" /></a></p>
<p>When viewing the Security tab click the Advanced button. Now click the Add button to add your BES service account. You&#8217;ll be presented with a list of permissions. Change the drop down box to User Objects then tick Allow Send As. Once you&#8217;ve Ok&#8217;d back to ADUC your permissions will be set.</p>
<p><a href="http://www.drewery.net/blog/wp-content/uploads/2006/08/permissions.jpg" title="permissions.jpg"><img src="http://www.drewery.net/blog/wp-content/uploads/2006/08/permissions.jpg" alt="permissions.jpg" width="370" height="470" align="bottom" /></a> </p>
<p>Any administrative users will need to be addressed separately. Administrative users include anyone who is a member of the following groups:</p>
<p>Enterprise Admins<br /> Schema Admins<br /> Domain Admins<br /> Administrators<br /> Cert Publishers<br /> Backup Operators<br /> Replicator Server Operators<br /> Account Operators<br /> Print Operators</p>
<p><em>It should be noted that it is good security practice <strong>not</strong> to have admin rights on your everyday mail-enabled account.</em>&nbsp;</p>
<p>To handle the administrative users the appropriate permissions need to be set on the <a href="http://blogs.msdn.com/ken_stcyr/archive/2006/07/10/661645.aspx" target="_blank">AdminSDHolder</a>  container. The easiest way to do this is with the dsacls command. To use it you&#8217;ll need the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=6EC50B78-8BE1-4E81-B3BE-4E7AC4F0912D&amp;displaylang=en" target="_blank">Windows Server 2003 Support Tools</a>  installed. The syntax of the command is as follows:<br /> <span><br /> </span></p>
<div align="left"><span> dsacls &quot;cn=AdminSDHolder,cn=System,dc=domain,dc=com&quot; /G &quot;domain.com\BESAdmin:CA;Send As&quot;</span></div>
<p>Once all your permissions are set and verified you can go ahead and install the Exchange patches knowing that your BlackBerry users will continue to function as before.&nbsp;</p>
<p>[tags]BlackBerry, BES[/tags] </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/antdrewery.wordpress.com/110/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/antdrewery.wordpress.com/110/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/antdrewery.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/antdrewery.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/antdrewery.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/antdrewery.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/antdrewery.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/antdrewery.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/antdrewery.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/antdrewery.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/antdrewery.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/antdrewery.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/antdrewery.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/antdrewery.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/antdrewery.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/antdrewery.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=110&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.drewery.net/2006/08/25/updating-blackberry-enterprise-server-permissions-to-support-storeexe-changes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9ac112d149b667282aee5e6cc74ecf5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ant</media:title>
		</media:content>

		<media:content url="http://www.drewery.net/blog/wp-content/uploads/2006/08/advanced.jpg" medium="image">
			<media:title type="html">advanced.jpg</media:title>
		</media:content>

		<media:content url="http://www.drewery.net/blog/wp-content/uploads/2006/08/permissions.jpg" medium="image">
			<media:title type="html">permissions.jpg</media:title>
		</media:content>
	</item>
		<item>
		<title>Correcting user account and mailbox associations</title>
		<link>http://blog.drewery.net/2006/01/06/correcting-user-account-and-mailbox-associations/</link>
		<comments>http://blog.drewery.net/2006/01/06/correcting-user-account-and-mailbox-associations/#comments</comments>
		<pubDate>Fri, 06 Jan 2006 15:57:08 +0000</pubDate>
		<dc:creator>Anthony Drewery</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.drewery.net/blog/2006/01/06/correcting-user-account-and-mailbox-associations/</guid>
		<description><![CDATA[We&#8217;ve been running in mixed-mode for some time and occasionally come across a user that was migrated from NT4 with two accounts in Active Directory. This is often flagged because they cannot log in to Outlook Web Access. On inspection only one of the user accounts has a mailbox associated with it. A closer look [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=34&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been running in mixed-mode for some time and occasionally come across a user that was migrated from NT4 with two accounts in Active Directory. This is often flagged because they cannot log in to Outlook Web Access.  On inspection only one of the user accounts has a mailbox associated with it. A closer look shows that the account <strong>without</strong> the mailbox has the correct user ID (the one they log in with), whereas the account with the mailbox has a garbage user ID that has been auto-created by the Active Directory Connector. We therefore need to swap the mailbox association and delete the incorrect account. Here&#8217;s the process that we use:
<ul>
<li><span>In Active Directory Users &amp; Computers note SMTP addresses, group memberships, address and      phone details of the account currently associated to the mailbox.</span></li>
<li><span>Note the current mailbox store.</span></li>
<li><span>Remove the Exchange attributes from the account.</span></li>
<li><span>Rename the account to have a prefix of &lsquo;Disabled &ndash;&lsquo;. Disable      the account and move to the Disabled Accounts OU (this is an OU we have created in our AD).</span></li>
<li><span>Connect Exchange Admin to the Exchange 5.5 server at the other end of the relevant connection agreement.</span></li>
<li><span>Delete the mailbox entry in Exchange Admin.</span></li>
<li><span>In ESM find the correct mailbox store. Expand and right click      on the Mailboxes folder and select &lsquo;Run Cleanup Agent&rsquo;.</span></li>
<li><span>Refresh the view and the mailbox should now have a red cross on      it.</span></li>
<li><span>Right click on the mailbox and select &lsquo;Reconnect&rsquo;. Select the      correct account when prompted.</span></li>
<li><span>In ADUC add the necessary SMTP addresses, groups, address and      phone information.</span></li>
<li><span>Update Custom Attribute 15 with you initials, date and comment      saying corrected account/mailbox mapping (this is part of our process for any changes made to mail-enabled objects). </span></li>
<li><span>Create a new Outlook profile for the user.</span></li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/antdrewery.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/antdrewery.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/antdrewery.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/antdrewery.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/antdrewery.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/antdrewery.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/antdrewery.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/antdrewery.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/antdrewery.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/antdrewery.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/antdrewery.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/antdrewery.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/antdrewery.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/antdrewery.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/antdrewery.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/antdrewery.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.drewery.net&amp;blog=6502410&amp;post=34&amp;subd=antdrewery&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.drewery.net/2006/01/06/correcting-user-account-and-mailbox-associations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9ac112d149b667282aee5e6cc74ecf5a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Ant</media:title>
		</media:content>
	</item>
	</channel>
</rss>
