Introduction

Domain controllers are servers that host an Active Directory domain and provide authentication and directory services to clients. A Domain controller is authoritative for a single domain, but can store partial read-only copies of objects in other domains in the forest if it is enabled as a global catalog server. All domain controllers in a forest also host the Configuration and Schema Naming Contexts, which are replicated to all domain controllers in a forest.

Active Directory is a multi-master directory, meaning that updates can be issued to any domain controller, but some tasks cannot be distributed to all servers due to concurrency issues. For example, if two different domain controllers made conflicting updates to the schema, the impact could be severe and could result in data loss. For this reason, Active Directory supports Flexible Single Master Operations (FSMO) roles. For each role there is only one domain controller that acts as the role owner and performs the tasks associated with the role. See Recipe 3.25 for more information on FSMO roles.

The Anatomy of a Domain Controller

Each domain controller is represented in Active Directory by several objects; the two main ones are a computer object and an nTDSDSA object. The computer object is necessary because a domain controller needs to be represented as a security principal like any other type of computer in Active Directory. The default location in a domain for domain controller computer objects is the Domain Controllers OU at the root of the domain. They can be moved to a different OU, but it is highly recommended that you don't unless you know what you are doing. Table 3-1 contains some useful attributes of domain controller computer objects.

Table 3-1. Attributes of domain controller computer objects

Attribute

Description

dnsHostName

Fully qualified DNS name of the DC.

msDS-AdditionalDnsHostName

Contains the old DNS name of a renamed DC. This is new in Windows Server 2003.

msDS-AdditionalSamAccountName

Contains the old NetBIOS name of a renamed DC. This is new in Windows Server 2003.

operatingSystem

Textual description of the operating system running on the DC.

operatingSystemHotFix

Currently not being used, but will hopefully be populated with the installed hotfixes at some point.

operatingSystemServicePack

Service pack version installed on the DC.

operatingSystemVersion

Numeric version of the operating system installed on the DC.

sAMAccountName

NetBIOS style name of the DC.

serverReferenceBL

DN of the DC's server object contained under the Sites container in the Configuration NC.

servicePrincipalName

List of SPNs supported by the DC.

Domain controllers are also represented by several objects under the Sites container in the Configuration NC. The Sites container stores objects that are needed to create a site topology, including site, subnet, sitelink, and server objects. The site topology is necessary so that domain controllers can replicate data efficiently around the network. See Chapter 11 for more information.

Each domain controller has an nTDSDSA object that is subordinate to the domain controller's server object in the site it is a member of. For example, if the DC1 domain controller were part of the RTP site, its nTDSDSA object would be located here:

cn=NTDS Settings,cn=DC1,cn=RTP,cn=sites,cn=configuration,dc=rallencorp,dc=com

Table 3-2 lists some of the interesting attributes that are stored with nTDSDSA objects.

Table 3-2. Attributes of domain controller nTDSDSA objects

Attribute

Description

hasMasterNCs

List of DNs for the naming contexts the DC is authoritative for. This does not include application partitions.

hasPartialReplicaNCs

List of DNs for the naming contexts the DC has a partial read-only copy of.

msDS-HasDomainNCs

The DN of the domain the DC is authoritative for. This is new in Windows Server 2003.

msDS-HasMasterNCs

List of DNs for the naming contexts (domain, configuration, and schema) and application partitions the DC is authoritative for. This is new in Windows Server 2003.

options

If the low-order bit of this attribute is set, the domain controller stores a copy of the global catalog.



Active Directory Cookbook
Active Directory Cookbook, 3rd Edition
ISBN: 0596521103
EAN: 2147483647
Year: 2006
Pages: 456

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net