<?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>Computer Support &#187; global catalog</title>
	<atom:link href="http://www.xiitec.com/blog/tag/global-catalog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiitec.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Dec 2009 08:40:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Listing Domain Controllers and Global Catalog Servers Used by an Exchange Server</title>
		<link>http://www.xiitec.com/blog/2008/11/10/listing-domain-controllers-and-global-catalog-servers-used-by-an-exchange-server/</link>
		<comments>http://www.xiitec.com/blog/2008/11/10/listing-domain-controllers-and-global-catalog-servers-used-by-an-exchange-server/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 23:18:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Exchange server 2003]]></category>
		<category><![CDATA[domain controller]]></category>
		<category><![CDATA[exchange server]]></category>
		<category><![CDATA[global catalog]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=227</guid>
		<description><![CDATA[Exchange is very dependent upon Active Directory domain controllers. The list of domain controllers currently being used by a server is usually one of the first pieces of information you should gather when you encounter an Exchange issue. While this can be done through the GUI, it is much easier to get the data through [...]]]></description>
			<content:encoded><![CDATA[<p>Exchange is very dependent upon Active Directory domain controllers. The list of domain controllers currently being used by a server is usually one of the first pieces of information you should gather when you encounter an Exchange issue. While this can be done through the GUI, it is much easier to get the data through a script.</p>
<p><span id="more-227"></span><br />
While the GUI provides only a listing of the domain controllers and global catalog servers in use, the WMI provider offers considerably more information. This additional information can be extremely important during troubleshooting, so you should have this script or something similar available to your Exchange Admins for troubleshooting purposes.</p>
<h3> Using a graphical user interface</h3>
<ol >
<li> Open the Exchange System Manager (ESM)  snap-in.</li>
<li> In the left pane, browse to the <span class="docEmphBold">Servers</span> container.</li>
<li> Right-click on the target server and select <span class="docEmphBold">Properties</span>.</li>
<li> Click on the <span class="docEmphBold">Directory</span> <span class="docEmphBold">Access</span> tab and view the domain controllers being  used.</li>
</ol>
<h3>Using VBScript</h3>
<pre>' This code enumerates domain controllers being used.' ------ SCRIPT CONFIGURATION ------

strComputer = "<tt><em>&lt;Exchange Server&gt;</em></tt>" 'e.g., ExchServer2

' ------ END CONFIGURATION ---------set objWMI = GetObject("winmgmts:\\" &amp; strComputer &amp; _

"\root\MicrosoftExchangeV2")

set objDCList = objWMI.ExecQuery("Select * from Exchange_DSAccessDC",,48)

for each objDc in objDCList

Wscript.Echo "DCName: objDc.name"

strTemp = "Automatic"

if (dc.ConfigurationType=0) then strTemp="Manual"

Wscript.Echo "  Selection: " &amp; strTemp

Wscript.Echo "  Is Fast  : " &amp; objDc.IsFast

Wscript.Echo "  In Sync  : " &amp; objDc.IsInSync

Wscript.Echo "  Is Up    : " &amp; objDc.IsUp

Wscript.Echo "  Ldap Port: " &amp; objDc.LDAPPort

strTemp = "Global Catalog"

if (objDc.type=0) then strTemp = "Config"

if (objDc.type=1) then strTemp = "Local Domain"

Wscript.Echo "  Role     : " &amp; strTemp

Wscript.Echo "-----------"

Next

Wscript.Echo "Script completed successfully.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/11/10/listing-domain-controllers-and-global-catalog-servers-used-by-an-exchange-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling and Disabling the Global Catalog</title>
		<link>http://www.xiitec.com/blog/2008/03/03/enabling-and-disabling-the-global-catalog/</link>
		<comments>http://www.xiitec.com/blog/2008/03/03/enabling-and-disabling-the-global-catalog/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 20:52:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Active directory]]></category>
		<category><![CDATA[global catalog]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=192</guid>
		<description><![CDATA[The first domain controller promoted into a forest is by default also made a global catalog server. If you want additional servers to contain the global catalog, you have to enable it. The global catalog on a domain controller becomes enabled when the low-order bit on the options attribute on the ntdSDSA object under the [...]]]></description>
			<content:encoded><![CDATA[<p>The first domain controller promoted into a forest is by default also made a global catalog server. If you want additional servers to contain the global catalog, you have to enable it. The global catalog on a domain controller becomes enabled when the low-order bit on the options attribute on the ntdSDSA object under the server object for the domain controller is set to 1. The DN of this object for dc1 in the Default-First-Site-Name site looks like this: cn=NTDSSettings,cn=DC1,cn=Default-First-Site-Name,cn=Sites,cn=Configuration, dc=rallencorp,dc=com.</p>
<p><span id="more-192"></span></p>
<p>After enabling the global catalog, it can take some time before the domain controller can start serving as a global catalog server. The length of time is based on the amount of data that needs to replicate and the type of connectivity between the domain controller&#8217;s replication partners. Once a server has completed initial replication of the global catalog, the isGlobalCatalogReady attribute in the RootDSE will be marked TRUE. Another way to determine if a domain controller has been at least flagged to become a global catalog is by checking if the options attribute on the ntdSDSA object for the server has been set to 1. Note that this does not necessarily mean the server is accepting requests as a global catalog. After replication is complete, you should see Event 1119 in the Directory Services log stating the server is advertising itself as a global catalog. At that point, you should also be able to perform LDAP queries against port 3268 on that server.</p>
<p>If you have Exchange installed in the forest, you&#8217;ll also need to reboot the server before it will be used as a global catalog by Exchange servers and clients.</p>
<p><strong>Using a graphical user interface</strong></p>
<ol>
<li> Open the Active Directory Sites and Services snap-in.</li>
<li>Browse to the nTDSDSA object (NtdS Settings) underneath the server object for the domain controller whose global catalog you want to enable or disable.</li>
<li>Right-click on NTDS Settings and select Properties.</li>
<li>Under the General tab, check (to enable) or uncheck (to disable) the box beside Global Catalog.</li>
<li>Click OK.</li>
</ol>
<p><strong>Using a command-line interface</strong></p>
<p>In the following command, <serverobjectdn> should be the server object DN, not the DN of the ntdSDSA object:</serverobjectdn></p>
<pre>&gt; dsmod server "<serverobjectdn>" -isgc yes|no</serverobjectdn></pre>
<p>For example, the following command enables the global catalog on dc1 in the Raleigh site:</p>
<pre>&gt; dsmod server "cn=DC1,cn=servers,cn=Raleigh,cn=sites,cn=configuration,dc=rallencorp,dc=com"
 -isgc yes</pre>
<p><strong>Using VBScript</strong></p>
<pre>' This code enables or disables the GC for the specified DC
 ' ------ SCRIPT CONFIGURATION ------
 strDC = "<domaincontrollername>"   ' e.g., dc01.rallencorp.com
 strGCEnable = 1                    ' 1 = enable, 0 = disable
 ' ------ END CONFIGURATION ---------</domaincontrollername></pre>
<pre>set objRootDSE = GetObject("LDAP://" &amp; strDC &amp; "/RootDSE")
 objNTDS = GetObject("LDAP://" &amp; strDC &amp; "/" &amp;  _
                     objRootDSE.Get("dSServiceName"))
 objNTDS.Put "options", strGCEnable
 objNTDS.SetInfo</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/03/03/enabling-and-disabling-the-global-catalog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

