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

If an entry RDN is identical to the suffix, then Entryrdn gets broken during a reindex

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-8.10.z
    • 389-ds-base
    • None
    • 389-ds-base-3.0.6-1.el10
    • No
    • Low
    • ZStream
    • rhel-idm-ds
    • ssg_idm
    • 26
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Approved Blocker
    • Bug Fix
    • Hide
      The bug is related to indexing failure and triggered slow request, invalid result and alarming messages in error logs.
      The cause was that if an entry RDN had the same value as the suffix, then index entryrdn got broken.
      With that fix the entryrdn is properly indexed.
      Show
      The bug is related to indexing failure and triggered slow request, invalid result and alarming messages in error logs. The cause was that if an entry RDN had the same value as the suffix, then index entryrdn got broken. With that fix the entryrdn is properly indexed.
    • Proposed
    • None

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

      Issue Description
      At the end of a reindex, entryrdn is rebuilt taking into account each entry under the suffix. The suffix is the first entry to be added. If a later entry has the same rdn than the suffix then entryrdn gets broken.

      The bug impacts bdb as well as mdb. It does not impact import but only indexing.

      Under mdb entryrdn gets broken silently, but contains invalid data
      Under bdb entryrdn gets broken with message like
      entryrdn_insert_key - Same DN (dn: <ENTRY_DN>) is already in the entryrdn file with different ID

      Package Version and Platform:

      • all versions (IIUC)

      Steps to Reproduce
      will provide a CI testcase

      Expected results
      after a reindex entryrdn should not be corrupted

              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:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: