Skip to main content

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).

The web interface is in development

This page describes what you can do, not where to click.

Settings​

SettingMeaningRange
PrecedenceWhich policy wins when several apply to a user: the lowest number.1 or more
Minimum password lengthMinimum length.8–255
Password historyRemembered passwords that cannot be reused.0–1,024
ComplexityPasswords must meet the complexity rules.yes/no
Reversible encryptionStore passwords with reversible encryption.no
Minimum password ageHow long before a password may be changed again.0 or more
Maximum password ageWhen passwords expire; 0 = never.0 or more, at least the minimum age
Lockout thresholdFailed logons before lockout.1–65,535
Lockout durationHow long a lockout lasts; 0 = until an administrator unlocks.0 or more
Lockout observation windowTime 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.