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

db-schema-upgrade using -h for ldapmodify resulting in ERROR: Unable to update schema

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-10.1
    • dogtag-pki
    • None
    • No
    • None
    • rhel-idm-cs
    • ssg_idm
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

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

      Upgrade the PKI LDAP schema using pki-server db-schema-upgrade command

      What is the impact of this issue to you?

      low

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

      idm-pki-base-11.6.0-1.el10.noarch
      idm-pki-server-11.6.0-1.el10.noarch

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. Install DS & CA instances
      2. Upgrade LDAP schema using pki-server command:
        pki-server db-schema-upgrade -i pki-tomcat -D "cn=Directory Manager" -w SECret.123

      Expected results

      The LDAP schema upgrade will successfully complete

      Actual results

      The upgrade fails with error below:

      ldapmodify: invalid option – 'h'
      ldapmodify: unrecognized option -h

      ERROR: Unable to update schema: Command '['ldapmodify', '-c', '-D', 'cn=Directory Manager', '-w', 'SECret.123', '-h', 'pki1.example.com', '-p', '2389', '-f', '/usr/share/pki/server/database/ds/schema.ldif']' returned non-zero exit status 1

              rhcs-maint RHCS Maintenance
              rh-ee-taherrin Taylor Herring
              RHCS Maintenance RHCS Maintenance
              IdM CS QE IdM CS QE
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: