
Active Directory, Part 2: OU Structure, Groups, Accounts, and Delegation
🌐 Machine-translated from Russian. Show original
In this part:
Division structure (OU)#
OUs are needed for two things: applying group policies and delegating rights. Do not copy the organizational structure exactly the same — it changes more often than it is needed for AD. Working option:
corp.example.kz
├── Company
│ ├── Users (сотрудники, при необходимости — по городам)
│ ├── Computers (рабочие станции)
│ ├── Servers
│ ├── Groups
│ └── Service Accounts
└── Admins (админские учетки отдельно)
Standard Users and Computers containers are not OUs: group policies cannot be linked to them. Redirect new objects there:
redircmp "OU=Computers,OU=Company,DC=corp,DC=example,DC=kz"
redirusr "OU=Users,OU=Company,DC=corp,DC=example,DC=kz"
Groups: rights through groups, not to users#
Classic AGDLP scheme: Accounts → Global groups by roles (accounting) → Domain Local-groups by resources (access to the "Accounting" folder, read) → Permissions on the resource.
Assign permissions to folders, printers, and applications to groups. Then hiring and dismissing is adding to or removing from the group, not editing rights on dozens of resources.
User attributes#
Fill in the attributes immediately when creating the account: full name, position, department, phone number, head, e-mail. This is the foundation for mail, corporate directory, and integrations (ACS, HR systems).
New-ADUser -Name "Айгерим Сапарова" -SamAccountName "a.saparova" `
-UserPrincipalName "a.saparova@corp.example.kz" -Path "OU=Users,OU=Company,DC=corp,DC=example,DC=kz" `
-Title "Бухгалтер" -Department "Бухгалтерия" -OfficePhone "+7 727 000-00-00" `
-AccountPassword (Read-Host -AsSecureString "Пароль") -Enabled $true -ChangePasswordAtLogon $true
Administrators#
- A separate admin account (
adm.saparova) is for administration only. - The Domain Admins group is the minimum number of people. Everyday tasks are through delegation.
- Password policies for admins are stricter; multi-factor authentication for remote access is better.
Delegation#
The support staff must reset passwords but not manage the domain. Management delegation wizard on the OU Users: grant the support team the right to "Reset user passwords and require password change." This allows permissions limited to the required OU and operation.
Dismissal#
- Disable the account (do not delete immediately).
- Transfer to the OU
Disabledwith no entry. - Remove from groups, change password.
- After the agreed period — delete it.
More about the access lifecycle can be found in the series "Information Security and Anti-Fraud." Next — group policies.
Comments · 0
No comments yet.Sign in to comment, rate and see all comments.