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

On replica consumer, account policy plugin fails to manage the last login history

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-10.0
    • rhel-9.2.0
    • 389-ds-base
    • None
    • 389-ds-base-3.0.6-1.el10
    • No
    • Low
    • ZStream
    • rhel-idm-ds
    • ssg_idm
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Approved Blocker
    • Bug Fix
    • Hide
      .The Account Policy plug-in now uses a proper flag for an update in a replication topology

      Before this update, the Account Policy plugin did not use the proper flag for an update. As a result, in a replication topology, the Account Policy plugin updated the login history, but this update failed on a consumer server logging the following error message:

      ----
      {{ERR - acct_update_login_history - Modify error 10 on entry
      }}
      ----

      With this update, the internal update succeeds and no errors are logged.
      Show
      .The Account Policy plug-in now uses a proper flag for an update in a replication topology Before this update, the Account Policy plugin did not use the proper flag for an update. As a result, in a replication topology, the Account Policy plugin updated the login history, but this update failed on a consumer server logging the following error message: ---- {{ERR - acct_update_login_history - Modify error 10 on entry }} ---- With this update, the internal update succeeds and no errors are logged.
    • Done
    • None

      This is a clone from https://github.com/389ds/389-ds-base/issues/6446

      Issue Description
      The RFE #5807 allows to manage the last login history. On a consumer in replicated topology, the update of the history fails.
      The symptom are, lastloginTime is not updated and an error is logged like
      {{ERR - acct_update_login_history - Modify error 10 on entry
      }}

      Package Version and Platform:
      since 2.4.2

      Steps to Reproduce
      A reproducible testcase is provided with the PR

      Expected results
      lastloginTime should be updated and no error logged

              idm-ds-dev-bugs IdM DS Dev
              vashirov@redhat.com Viktor Ashirov
              IdM DS Dev IdM DS Dev
              Lenka Doudova Lenka Doudova
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: