Bug 859510
Summary: | Expired IPA password changes fail if pwpolicy expiration time is changed after expiration | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Nathan <lagern> |
Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | dpal, jgalipea, mkosek |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-3.2.1-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 11:12:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nathan
2012-09-21 17:34:51 UTC
Upstream ticket: https://fedorahosted.org/freeipa/ticket/3114 Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/0e8a329048629f639ae64ff32e01e12a495e7763 ipa-3-1: https://fedorahosted.org/freeipa/changeset/4d17b7217256996c51b579504f47b9d1ef037f04 IPA Kerberos LDAP driver now caps krbPasswordExpiration time on 2038-01-01, i.e. a highest representable time in Kerberos. This fixes password change issues when password policy was set to a value setting expiration date after 2038-01-01. bug verified (same as bug 891977) [root@rh7c (RH7.0-x86_64) ipa-password] rpm -qa | grep ipa-server ipa-server-3.3.1-5.el7.x86_64 automation in ipa-password test suite bz_891977() { rlPhaseStartTest "Bug 891977 - Users cannot change their passwords after password expiry change" rlLog "please note: bug 891977 is clone of 859510" local user=bz859510 local grp=grp859510 local small=1 local big=10 local initialPW="redhat_000" local newPW="redhat_001" local latestPW="redhat_002" # preparing test data Local_KinitAsAdmin echo $initialPW | ipa user-add $user --first "bug" --last "859510" --password ipa group-add $grp --desc "group for 859510" ipa group-add-member $grp --user=$user ipa pwpolicy-add $grp --maxlife=$small --priority=6 Local_FirstKinitAs $user $initialPW $newPW # up to this step, user and group are created, user's password will expire in $small day offset_system_time "+ $small * 24 * 3600" Local_KinitAsAdmin ipa pwpolicy-mod $grp --maxlife=$big kinit_aftermaxlife $user $newPW $latestPW rlLog "clean up test data" Local_KinitAsAdmin rlRun "ipa group-del $grp" rlRun "ipa user-del $user" rlPhaseEnd } This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |