Previous Topic: Example: Complex Password PolicyNext Topic: Test Your Password Policy


Example: Multiple Password Policies

In this example, a single DSA contains two types of users: users and administrators. Each user type has its own password policy.

The Default policy contains settings that are common to both policies. However some of these are overridden.

The directory architect has created the following password policy:

Here is the configuration for these policies:

set password-policy = true;
set password-username-substring = true;
set password-min-length = 12;

set target-password-policy = Admin; 
set password-numeric    = 2;
set password-uppercase   = 1;

set target-password-policy = Users;
set password-min-length = 8;
set password-age = 30;

After creating the password policies, assign the policies to the relevant users:

dn: cn=admin,ou=Administrators,c=au
objectClass: inetOrgperson
dxPwdPolicy: Admin

dn: cn=John Smith,ou=Users,c=au
objectClass: inetOrgperson
dxPwdPolicy: Users

More information:

Create Multiple Password Policies for Each DSA