Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-67022

Password modify extended operation should skip password policy checks when executed by root DN

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhel-10.1
    • rhel-9.2.0
    • 389-ds-base
    • No
    • None
    • rhel-sst-idm-ds
    • 0
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When the LDAP password policy extended operation is executed by root DN on a regular user under constraints of a password policy, eg password history, it should skip password policy checks because the root DN should be allowed to set a regular user password to any value however this is currently not the case.

      The root DN user can still modify userPassword attribute directly via regular modify operation, which can be used as workaround of sorts however it does not play nice with various password policy flags/op attributes ie it can be done but requires more effort and essentially negates password policy extended operation functionality.

      Steps to Reproduce:

      1. Have a password policy in place with a specific constraint eg password history.
      2. Use ldappasswd tool, bind as root DN, attempt to change user's password to one that is already in history (violate password policy constraints).

      Actual results:

      Result: Constraint violation (19)
      Additional info: Failed to update password

      Expected results:

      The root DN should be able to violate password policy constraints and change user password regardless.

      Additional info:

      It should probably apply to a password administrator user as well if one is defined for password policy configuration.

              idm-ds-dev-bugs IdM DS Dev
              rhn-support-abobrov Anton Bobrov (Inactive)
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: