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

ldapsearch: unrecognized option -h

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4
    • rhel-9.4
    • openldap
    • None
    • openldap-2.6.6-2.el9
    • None
    • None
    • rhel-sst-idm-ds
    • ssg_idm
    • 24
    • 0
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None

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

      After rebase to 2.6.6 ldapsearch no longer recognizes options -p and -h.
      We have a patch that reverts the upstream change that removes them completely. But in the new version they also removed from options[] in client tools:
      https://github.com/openldap/openldap/commit/1c18f31d1c992d69568b8b79b182773c36431c90

      Please provide the package NVR for which bug is seen:

      openldap-clients-2.6.6-1.el9.x86_64

      How reproducible:

      always

      Steps to reproduce

       # ldapsearch -h demo1.freeipa.org
      

      Expected results

      ldapsearch command is successful.

      Actual results

      ldapsearch: invalid option -- 'h'
      ldapsearch: unrecognized option -h
      usage: ldapsearch [options] [filter [attributes...]]
      ...
      
      

              spichugi@redhat.com Simon Pichugin
              vashirov@redhat.com Viktor Ashirov
              Simon Pichugin Simon Pichugin
              Viktor Ashirov Viktor Ashirov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: