11.23.1 ProblemYou want to view the connection objects associated with a domain controller. 11.23.2 Solution11.23.2.1 Using a graphical user interface
11.23.2.2 Using a command-line interface> repadmin /showconn [<DomainControllerName>] 11.23.2.3 Using VBScript' This code lists the connection objects for a server ' ------ SCRIPT CONFIGURATION ------ strServer = "<ServerName>" ' e.g. dc01 strSite = "<SiteName>" ' e.g. MySite1 ' ------ END CONFIGURATION --------- set objRootDSE = GetObject("LDAP://RootDSE") set objNTDSCont = GetObject("LDAP://cn=NTDS Settings,cn=" & strServer & _ ",cn=servers,cn=" & strSite & ",cn=sites," & _ objRootDSE.Get("configurationNamingContext") ) objNTDSCont.Filter = Array("ntdsConnection") WScript.Echo "Connection objects for " & strSite & "\" & strServer for each objConn in objNTDSCont if objConn.Get("options") = 0 then Wscript.Echo " " & objConn.Get("cn") & " (MANUAL)" else Wscript.Echo " " & objConn.Get("cn") & " (AUTO)" end if next
11.23.3 DiscussionConnection objects are used to replicate inbound changes to a domain controller. By viewing the connection objects for a server you can see what domain controllers it receives updates from. Connection objects are created automatically by the KCC, but can be created manually if necessary. 11.23.4 See AlsoRecipe 11.22 for creating a connection object |