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

Minimum length parameter in pwpolicy cannot be removed with empty string

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.4
    • rhel-9.4
    • ipa
    • ipa-4.11.0-2.el9
    • None
    • 1
    • sst_idm_ipa
    • ssg_idm
    • 10
    • 12
    • None
    • False
    • Hide

      None

      Show
      None
    • No
    • 2023-Q4-Alpha-S4
    • All
    • None

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

      For all parameters in pwpolicy plugin, the attribute can be removed by setting it to an empty string (""), but this does not work for "--minlength"

      Please provide the package NVR for which bug is seen:

      ipa-server 4.9.11

      How reproducible:

      100%

      Steps to reproduce

       

      # ipa pwpolicy-mod --minlength 8 --maxfail 3
      # ipa pwpolicy-mod --maxfail ""
      # ipa pwpolicy-mod --minlength ""
      ipa: ERROR: an internal error has occurred
      
       

      Expected results

      successful command

      Actual results

      internal error

       

      This is a RHEL 9.4 tracker for https://pagure.io/freeipa/issue/9297

            frenaud@redhat.com Florence Renaud
            frenaud@redhat.com Florence Renaud
            Florence Renaud Florence Renaud
            Erik Belko Erik Belko
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: