Previous section   Next section

DIRECTORY SERVICES

The Windows Server 2003 Active Directory is Microsoft's consolidation of the major enterprise-wide directory services into a single, replicable data store and administrative interface.

A directory is a listing that helps organize and locate things. The index of this book is one example. The reader becomes the directory service provider that scans the entries, locates the page number(s) for a topic, and turns to the page.

In computing terms, the two components of a directory are the data store and the services that act on that data. In Windows 2000 and Windows Server 2003, a directory is simply a store of objects, within which those objects can be located anywhere in the enterprise and can include applications, databases, printers, users, and other workstations or servers. A directory service performs many functions that act on that store: replication, security rule enforcement, data distribution, and much more.

NOTE

An object is a representation of real things such as a user, a data file, a printer, and a software application. Every object has named attributes that describe the item. Thus an attribute of a printer might be its location, its manufacturer, or its type. A container is a special class that has both a namespace and attributes. It does not represent anything real or concrete but instead holds one or more objects. A tree is simply a hierarchy of objects and containers. As discussed later, the domain tree is a special form of tree that defines a domain directory hierarchy. The endpoint of any tree branch is an object; the branch is typically viewed as a container for multiple objects. Think of a tree as the relationship of objects and their paths from the root. For example, the user container holds the objects associated with all users on a computer system. Branches hold the objects associated with individual users.


What Is the Active Directory?

Stated very simply, the Active Directory is a network-based object store and service that locates and manages resources, and makes these resources available to authorized users and groups. An underlying principle of the Active Directory is that everything is considered an object—people, servers, workstations, printers, documents, and devices. Each object has certain attributes and its own security access control list (ACL). Objects can be organized within the Active Directory in a special kind of object known as a container, which can be used on a very granular level. Specifically, the Active Directory plays several very important roles in a Windows Server 2003 enterprise, which include but are not limited to the following:

The Active Directory, as illustrated in Figure 5.1, is a distributed, hierarchical, replicated, and secure directory service designed for Windows Server 2003 that is theoretically capable of interoperability within heterogeneous directory service environments.

Figure 5.1. A View of the Active Directory Relative to Other Elements

graphics/05fig01.gif

The Active Directory catalogs file objects with their attributes in a hierarchical arrangement, fully embracing naming resolution services like DNS. It also organizes users and groups according to their attributes. The Active Directory plays an important role in identification of security policies across the network, integration of e-mail, Internet addressing, and groupware applications. In essence, the Windows Server 2003 Active Directory merges all of these directory services within an extensible system environment.

A user inquiry about an object is passed through the Global Catalog (GC), which, as we will discuss later, is an abstraction of object information contained in the Active Directory data store. The GC resolves the common object inquiries. It is created and refreshed with updated information for the Active Directory. The schema residing in the Active Directory presents object definitions. The Active Directory manages the store of data through an extensible storage engine (ESE). The upper functions of the directory services themselves are separated from the ESE by APIs through the Directory System Agent (DSA) layer. No direct calls are made to the ESE.

Figure 5.2 illustrates the structural relationship of the data store and extensible storage engine to Active Directory's system agent. Queries made by a user are passed through the Global Catalog. If the object cannot be resolved by the GC, it is passed to the data store via the ESE database API.

Figure 5.2. Structure View of Data Store and Extensible Engine

graphics/05fig02.gif

FILE STRUCTURE

The Active Directory stores database and log files. It is important to understand the nature of these files in order to facilitate a backup and restoration policy in the event of system corruption.

The Active Directory database file is Ntds.dit and is stored in the %system%/NTDS folder. Every domain controller has a copy of it. Ntds.dit stores all domain objects and their attribute data organized into several tables. The schema table contains the definitions of the objects that can be created. The object table organizes a single object per role, with a column provided for every attribute that contains data. Finally, the link table contains the relationship data between the object and the object table.

The Active Directory creates and stores four types of log files on the maintenance and management of transactions. These files are stored in %systemroot%/NTDS and include:

Data Stores and Partitions

To facilitate information storage and replications, the Active Directory uses three types of data store for directory partitions, each of which is replicated as a separate unit according to its own schedule. The three Active Directory partitions are:

An Administrative View of the Active Directory

From a system administrator's perspective, the Active Directory provides many keys for success.

Based on the use of objects and attributes, as shown in Figure 5.3, Active Directory forms associations.

Figure 5.3. Locating Objects Using Attributes

graphics/05fig03.gif

The scope of the Active Directory is scalable and includes every object and container in the domain tree. In essence, the Active Directory can scale from a single server to an extremely large enterprise network. The primary qualities are fast connectivity and security, discussed later.


  Previous section   Next section
Top