Comment 1 for bug 2008838

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/875798
Committed: https://opendev.org/starlingx/integ/commit/96d6f948a9259740e29ed47c6ab30976f182b133
Submitter: "Zuul (22348)"
Branch: master

commit 96d6f948a9259740e29ed47c6ab30976f182b133
Author: Alan Bandeira <email address hidden>
Date: Wed Mar 1 00:16:22 2023 -0300

    Update error message for ldapsetpasswd

    Using ldapsetpasswd when changing a password may
    fail due to required password security standards.
    The current error message is vague and provides
    no information about the error causing password
    change to fail. This fix provides a more clear
    error message which informs the user about the
    security requirements for a new password.

    Test Plan:
    PASS: In a simplex system, create a ldap user named
          test and then run "sudo ldapsetpasswd test" and
          provide a password that fails the security
          requirements, such as "linux99", retype the
          provided password and the system should present
          an error message comprising the system's security
          requirements for user passwords.

    PASS: Using the same user created in the previous test
          plan, run the command "sudo ldapsetpasswd test
          <pwd>", changing <pwd> for a bad password, and
          the system should present an error message
          comprising the system's security requirements
          for user passwords.

    Closes-Bug: 2008838
    Change-Id: Ibe942d87bee402e43c42f33e26276f0e078213cb
    Signed-off-by: Alan Bandeira <email address hidden>