96d6f948a9
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 <Alan.PortelaBandeira@windriver.com> |
||
---|---|---|
.. | ||
0001-Reset-password-after-user-is-added.patch | ||
0001-Update-ldapsetpasswd-error-message.patch | ||
allow-anonymous-bind-for-ldap-search.patch | ||
install-ldapscripts-files-to-etc.patch | ||
ldap-user-setup-support.patch | ||
ldapscripts-templates.patch | ||
log_timestamp.patch | ||
series | ||
sudo-delete-support.patch | ||
sudo-support.patch |