11.12. Creating a Site Link Bridge

Problem

You want to create a site link bridge because you’ve disabled site link transitivity.

Solution

Using a graphical user interface

  1. Open the Active Directory Sites and Services snap-in.

  2. In the left pane, expand Sites Inter-Site Transports.

  3. Right-click either the IP or SMTP folder depending which protocol you want to create a site link bridge for.

  4. Select New Site Link Bridge.

  5. Highlight two or more sites in the left box.

  6. Click the Add button.

  7. Click OK.

Using a command-line interface

Create an LDIF file called create_site_link_bridge.ldf with the following contents, where <Link1> and <Link2> refer to the site links to be bridged:

dn: cn=<BridgeName>,cn=IP,cn=inter-site 
transports,cn=sites,cn=configuration,<ForestRootDN>
changetype: add
objectclass: siteLinkBridge
siteLinkList: cn=<Link1>,cn=IP,cn=Inter-site Transports,cn=sites,cn=configuration,
<ForestRootDN>
siteLinkList: cn=<Link2>,cn=IP,cn=Inter-site Transports,cn=sites,cn=configuration,
<ForestRootDN>

Then run the following command:

> ldifde -v -i -f create_site_link_bridge.ldf

Using VBScript

' This code creates a site link bridge between two site links
' ------ SCRIPT CONFIGURATION ------
strLink1 = "<Link1>"        ' e.g. AMS-LON
strLink2 = "<Link2>"        ' e.g. SJC-RTP
strBridge = "<BridgeName>" ' e.g. AMER-EUR ' ------ END CONFIGURATION --------- set objRootDSE = GetObject("LDAP://RootDSE") set objLinkCont = GetObject( _ "LDAP://cn=IP,cn=Inter-site Transports,cn=sites," & _ objRootDSE.Get("configurationNamingContext") ...

Get Active Directory Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.