mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
01.01.2010 2db63d1091dda9187411b98808fec9bed08d44f2
Fix for OPENDJ-12 - Set the password policy for the Admin account the same as Root DNs to avoid expiration, lockout or must change on reset.

1 files modified
5 ■■■■■ changed files
opends/src/ads/org/opends/admin/ads/ADSContext.java 5 ●●●●● patch | view | raw | blame | history
opends/src/ads/org/opends/admin/ads/ADSContext.java
@@ -1668,6 +1668,11 @@
      privilegeAtt = addRootPrivileges();
    }
    attrs.put(privilegeAtt);
    // Add the RootDNs Password policy so the password do not expire.
    attrs.put("ds-pwp-password-policy-dn",
        "cn=Root Password Policy,cn=Password Policies,cn=config");
    return attrs;
  }