The KCC runs at regular intervals to adjust the replication topology for changes that occur in Active Directory, such as adding new domain controllers and new sites that are created. At the same time, the KCC reviews the replication status of existing connections to determine if any connections are not working. If a connection is not working, after a threshold is reached, KCC automatically builds temporary connections to other replication partners (if available) to insure that replication is not blocked.
NOTE: When automatic replication topology management is disabled, the failover detection mentioned above is also disabled.
You can use the Ldp.exe tool that is included in the Windows 2000 or Windows Server 2003 Resource Kit to perform Lightweight Directory Access Protocol (LDAP) searches against Active Directory for specific information given search criteria. This also lets you query data that is otherwise not visible using the administrative tools included in Windows 2000. However, all information that is returned in LDP queries is subject to security permissions.
How to Modify Active Directory to Disable KCC for a Site
- Run Setup.exe (if it is not already installed) from the Support\Tools folder of the Windows 2000 or Windows Server 2003 CD-ROM. This installs the Support Tools Kit.
- Run Ldp.exe
- On the Connection menu, click Connect.
- Type the server name of a domain controller in the enterprise, verify that the port setting is 389, click to clear the connectionless check box, and then click OK. After the connection is complete, server-specific data is displayed in the right pane.
- On the Connection menu, click Bind. Type the user name, password, and domain name (in DNS format) in the appropriate boxes (you may need to click to select the Domain check box), and then click OK. If the binding is successful, you should receive a message in the right pane that is similar to the following example:Authenticated as dn:YourUserID
- On the View menu, click Tree.
- In the BaseDN box, type the distinguished name of the site object in the configuration container of the forest. For example, for the Default-First-Site-Name site in the Mydomain.com forest, the domain name would look like the following example:CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COMIf this object is located, LDP should display the object in the left pane.
- Expand the view. One of the child objects should begin with CN=NTDS Site Settings. Double-click this object. In the right pane, LDP should output the current settings for the attributes for this object. Each attribute is preceded by a number and then an angle bracket (>). The number represents the number of values the attribute contains.
- Look for the "options" attribute. If it is not present, this is normal and makes modifying the value easier.
NOTE: If the "options" attribute is present and the value is not 0, you need to determine the current flags that are set and use the values below to construct the new value before continuing to the next step.
- In the right-hand pane, locate the beginning of the output for the NTDS Site Settings object. It looks similar to the following example:Expanding base 'CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM'...
Result <0>: (null)
Getting 1 entries:
>> Dn: CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM
- Copy the string of data from the ">> Dn" portion of the LDP output.
- On the Browse menu, click Modify. In the Dn box, paste the string you copied in the previous step.
- In the Attribute box, type options.
- In the Values box, type the appropriate value:
- To disable automatic intra-site topology generation, use value 1 (decimal).
- To disable automatic inter-site topology generation, use value 16 (decimal).
- To disable both intra-site and inter-site topology generation, use value 17 (decimal).
- In the Operation box, click Replace, click Enter, and then click Run.
- In the right pane, the output should look similar to the following example if the operation is successful:***Call Modify...
ldap_modify_s(ld,'CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM', attrs);
Modified "CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM".
To determine if these values are set correctly, you can use Active Directory Replication Monitor (also included with the Support Tools installation) to generate a report on the site configuration. Included in this information is output similar to the following example:
Site Options : NTDSSETTINGS_OPT_IS_AUTO_TOPOLOGY_DISABLED NTDSSETTINGS_OPT_IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED
Site Topology Generator: CN=NTDS Settings,CN=ESTAD-CESSNA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ifr,DC=com
Site Topology Renewal :
Site Topology Failover :
ID d'article : 242780 - Dernière mise à jour : 7 juil. 2008 - Révision : 1