Domain Controller

Features of Domain controller

Allows administrative access to manage user accounts and network resources

Info

This means:

A Domain Controller gives admins (IT people) the ability to:

  • Create, edit, or delete user accounts
  • Reset passwords
  • Assign who can access what (like files, folders, printers)
  • Set rules and policies (e.g., who can install software, when users can log in)
  • Control access to network resources like shared drives, applications, or internet access

Main Functions of a Domain Controller

Function Description
Authentication Verifies user credentials (e.g., username and password).
Authorization Grants or denies access to network resources.
Directory Services Stores and organizes data like user accounts, groups, computers, etc.
Policy Enforcement Applies Group Policies to users and machines.
Replication Syncs data with other domain controllers to ensure consistency.

Components Handled by a Domain Controller

Types of Domain Controllers

  1. Primary DC

    • Older concept (pre-Windows 2000). Today all DCs are peers in modern AD.
  2. Read-Only DC

    • A DC that cannot make changes (used in branch offices or insecure sites).
  3. Global Catalog Server

    • Stores full data of its domain + partial data of other domains for searches.

Importance

Note

If a Domain Controller Fails:

  • Users might not be able to log in or access resources.
  • That’s why networks usually have multiple DCs for redundancy and load balancing.

Users

Note

Users are called "security principals", which just means:

  • They can be identified, authenticated, and given permission to do things in the network

Users can be used to represent two types of entities:

1. People:

2. Services (Service Accounts)


Machine Object

Example

Let’s say you have a computer named HR-PC01.
When you join it to the domain company.com, a machine object HR-PC01 is created in AD.

This allows:

  • The domain to recognize the computer
  • Admins to apply rules and updates to it
  • The machine to access domain resources like file servers or printers
Important

Machine Account passwords are automatically rotated out and they have 120 random characters, so one can not brute force machine account's password, it is very difficult.

Naming a machine account: