Password policies
Fine-grained password policies (password settings objects, PSOs) give
some users and groups a different password and lockout policy from the
domain's: for example longer passwords for staff, or no lockout for young
pupils. Vertex lists, creates and changes them and chooses whom they apply
to. They are for Tenant admins; changes need the password policies
write switch and --pso on in the connector's guard.
The domain's functional level must be Windows Server 2008 or higher, and the AD account needs rights on the Password Settings Container (Setting up the domain controller).
This page describes what you can do, not where to click.
Settings
| Setting | Meaning | Range |
|---|---|---|
| Precedence | Which policy wins when several apply to a user: the lowest number. | 1 or more |
| Minimum password length | Minimum length. | 8–255 |
| Password history | Remembered passwords that cannot be reused. | 0–1,024 |
| Complexity | Passwords must meet the complexity rules. | yes/no |
| Reversible encryption | Store passwords with reversible encryption. | no |
| Minimum password age | How long before a password may be changed again. | 0 or more |
| Maximum password age | When passwords expire; 0 = never. | 0 or more, at least the minimum age |
| Lockout threshold | Failed logons before lockout. | 1–65,535 |
| Lockout duration | How long a lockout lasts; 0 = until an administrator unlocks. | 0 or more |
| Lockout observation window | Time after which the failed-logon count resets. | 0 or more, at most the lockout duration |
Durations are given in seconds: one day is 86400, 90 days 7776000, 30
minutes 1800. When a user has a policy, it replaces the domain's policy
for that user entirely (there is no merging).
Vertex never weakens passwords below a floor: a minimum length of at
least 8, a lockout threshold of at least 1 (accounts are always locked out
after failed logons) and reversible encryption off. Settings below it are
refused (pso_too_weak) when a policy is created or changed, and when an
existing policy whose settings are below it is applied to more users or
groups. Weaker policies set on the domain controller are listed as they
are.
Listing
The list shows every policy with its settings and the DNs of the users and groups it applies to. A user's
resulting policy is the user's msDS-ResultantPSO attribute, shown by
a live read of the user (Users → One user).
Creating and changing
- Create: a name (at most 64 characters), all settings, and optionally whom it applies to (up to 500 DNs).
- Change: new settings (all of them), and/or users and groups to add and remove. A policy is renamed like any other object.
- Delete: the deletes switch and a step-up.
A policy applies to users and global security groups. Every user
and group you apply it to must be below a managed OU and not
protected, and a group must have no protected member, also nested
(Privileged groups). A policy that already
applies to a protected user, or to a group with a protected member, is
not changed or deleted through Vertex at all (protected); policies for
administrators are therefore set on the domain controller, not in Vertex.
Users and groups the mirror does not know are refused
(unknown_subject), and so is a change of a policy that is not in the
mirror yet (not_found): run a sync first. The script on the domain
controller checks the members again before it writes. Policies themselves are in the Password
Settings Container, outside the managed OUs, and that is where Vertex
creates them.