Active Directory Data Model
- Objects
- Represent entities such as users, computers, groups, printers, etc.
- Each object is an instance of a specific class defined in the schema.
- Attributes
- Describe the properties of objects (e.g.,
cn
for common name,mail
for email address). - Attributes can store different types of data like strings, numbers, or dates.
- Describe the properties of objects (e.g.,
- Schema
- Defines:
- The object classes (e.g.,
user
,group
,organizational Unit
). - Required attributes (must be present for an object of that class).
- Optional attributes (additional properties that may be present).
- Allowed parent classes (which class the object can be a child of).
- The object classes (e.g.,
- Defines:
- Hierarchy and Inheritance
- Objects are arranged in a hierarchical structure called the Directory Information Tree (DIT).
- Every object, except the root, must have a parent.
- Classes can inherit structure and attributes from other classes, similar to object-oriented programming.
Example
A user
object might include:
- Mandatory attributes:
cn
,sAMAccountName
- Optional attributes:
telephoneNumber
,description
- Parent class: Often
organizationalPerson
, which may itself inherit fromperson