Ticket was cloned from Red Hat Bugzilla: Bug 1593745
Please note that this Bug is private and may not be accessible as it contains confidential Red Hat customer information.
Issue: IdM appears to not allow for leading/trailing spaces in password. We integrate with a password management system that does allow for leading/trailing spaces therefore, when an attempt to set the password enters our systems, IdM disallows the request. Reproducer: [root@ipa ~]# ipa user-mod cpu --password Password: "hemant " <=======add blank space Enter Password again to verify: "hemant " ipa: ERROR: invalid 'password': Leading and trailing spaces are not allowed [root@ipa ~]#
Metadata Update from @frenaud: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1593745
Metadata Update from @frenaud: - Issue tagged with: easyfix
PR: https://github.com/freeipa/freeipa/pull/5302
master:
Metadata Update from @abbra: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
ipa-4-9:
Metadata Update from @abbra: - Custom field changelog adjusted to Allow leading and trailing whitespaces in passwords set through IPA commands. They were already allowed via Kerberos and LDAP. - Issue set to the milestone: None (was: FreeIPA 4.6.5)