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

dbscan on replication changelog does not display MOD_TYPE

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

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • rhel-10.1
    • None
    • 389-ds-base
    • 389-ds-base-3.1.3-2.el10
    • No
    • Low
    • rhel-idm-ds
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Release Note Not Required
    • None

      Description of problem:
      to dump a specific entry in changelog we can do

      dbscan -f /var/lib/dirsrv/slapd-supplier1/db/userRoot/replication_changelog.db -k 646cdb41000000010000

      dbid: 646cdc51000000010000
      encrypted: no
      replgen: 1684855889 Tue May 23 17:31:29 2023
      csn: 646cdc51000000010000
      uniqueid: 6107babc-f89711ed-800ab7e9-efdf19c2
      dn: uid=demo_user,ou=people,dc=example,dc=com
      operation: modify
      legalName: add3
      loginShell: add3
      modifiersname: cn=directory manager
      modifytimestamp: 20230523153129Z

      the problem is that if you do a MOD_ADD or a MOD_REPLACE it will be displayed the same.
      Another issue is that a MOD_DELETE does not display the deleted attribute.

      Version-Release number of selected component (if applicable):
      all version

      How reproducible:
      systematically

      Steps to Reproduce:
      1. do a MOD_REPLACE, MOD_ADD, MOD_DELETE
      2. dump the changelog entry
      3.

      Actual results:
      Output of dbscan is missing MOD_TYPE and deleted attribute

      Expected results:
      It should display all informations that can help debug

      Additional info:

              idm-ds-dev-bugs IdM DS Dev
              tbordaz@redhat.com Thierry Bordaz
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: