11.11. Disabling Site Link Transitivity or Site Link Schedules
Problem
You want to disable site link transitivity to control replication.
Solution
Using a graphical user interface
Open the Active Directory Sites and Services snap-in.
In the left pane, expand
Sites→Inter-Site Transports.Right-click either the
IPorSMTPfolder depending which protocol you want to disable transitivity or ignore schedules for.Select Properties.
To disable site link transitivity, uncheck Bridge all site links.
To ignore site link schedules, check Ignore schedules.
Click OK.
Using a command-line interface
You can modify the options attribute of a site
link object using an LDIF file and ldifde, but
since the attribute is a bit flag, you are better off using the GUI
or VBScript solutions that look at the current value of
options and modify it accordingly.
ldifde doesn’t handle this type
of logic.
Using VBScript
' This code can disable site link transitivity and site ' schedules for all links of the IP transport. ' The code for the CalcBit function can be found in Recipe 4.12 ------ SCRIPT CONFIGURATION ------ boolDisableTrans = <TrueOrFalse> ' e.g. TRUE boolIgnoreSchedules = <TrueOrFalse> ' e.g. FALSE ' ------ END CONFIGURATION --------- set objRootDSE = GetObject("LDAP://RootDSE") set objLink = GetObject( _ "LDAP://cn=IP,cn=Inter-site Transports,cn=sites," & _ objRootDSE.Get("configurationNamingContext") ) intBitsOrg = objLink.Get("options") intBits = CalcBit(intBitsOrig, 2, boolDisableTrans) intBits = CalcBit(intBitsOrig, ...