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

The numSubordinates value is not matching the number of direct children.

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.1
    • rhel-9.6
    • 389-ds-base
    • None
    • 389-ds-base-3.1.3-5.el10_1
    • No
    • Low
    • ZStream
    • rhel-idm-ds
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Regression Exception
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      What were you trying to do that didn't work?

      A customer runs regular checks to compare the number of child entries under a specific node on several servers. This was done by requesting the numSubordinates attribute.
      On the servers that are using LMDB, the value of numSubordinates is different of the actual value of direct entries.

      What is the impact of this issue to you?

      Monitoring reports are showing errors.

      Please provide the package NVR for which the bug is seen:

      cat <SOS_REPORT>/etc/redhat-release 
      Red Hat Enterprise Linux release 9.6 (Plow)

      grep 389-ds <SOS_REPORT>/installed-rpms 
      389-ds-base-2.6.1-6.el9_6.x86_64                            Sun May 25 15:39:51 2025
      389-ds-base-libs-2.6.1-6.el9_6.x86_64                       Sun May 25 15:39:44 2025

      How reproducible is this bug?:

      Always at customer site.

      Steps to reproduce

      1. Install LDAP servers and create a replication topology
      2. Convert 1 server to use LMDB
      3. On the server using LMDB, compare the numSubordinates and the number of direct children.

       

      ldapsearch -xLLL -D "cn=Directory Manager" -W -s one -b "cn=users,cn=accounts,dc=example,dc=com" "(|(objectClass=*)(objectclass=ldapsubentry))" 1.1 | grep -c "^dn"
      Enter LDAP Password:
      45265
      ldapsearch -xLLL -D "cn=Directory Manager" -W -s base -b "cn=users,cn=accounts,dc=example,dc=com" "(objectClass=*)" 1.1 numSubordinates | grep numSubordinates
      Enter LDAP Password:
      numSubordinates: 45425
      

       

      Expected results

      Mismatching values.

      Actual results

      Values should be matching.

              idm-ds-dev-bugs IdM DS Dev
              rhn-support-tmihinto Têko Mihinto
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: