Bug 914671
| Summary: | pwd_expiration_warning has wrong default for Kerberos | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jiri Pallich <jpallich> |
| Component: | sssd | Assignee: | Jakub Hrozek <jhrozek> |
| Status: | CLOSED ERRATA | QA Contact: | Kaushik Banerjee <kbanerje> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.4 | CC: | dpal, grajaiya, jgalipea, jhrozek, jpallich, okos, pbrezina, pm-eus |
| Target Milestone: | rc | Keywords: | Regression, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | sssd-1.9.2-82.3.el6_4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-19 18:34:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 911329 | ||
| Bug Blocks: | |||
|
Description
Jiri Pallich
2013-02-22 13:24:57 UTC
Re-opening this bug as pwd_expiration_warning=0 doesn't show any warning message. Tested in version sssd-1.9.2-82.2.el6_4 Thanks for the catch, the issue should be fixed in sssd-1.9.2-82.3.el6_4 Verified in version 1.9.2-82.3.el6_4 Report from beaker automation run: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: default pwd_expiration_warning :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Sleeping for 5 seconds :: [ PASS ] :: Authentication successful, as expected :: [ PASS ] :: Running 'auth_success policy_user1 Secret123' :: [ PASS ] :: File '/var/log/secure' should not contain 'Your password will expire in ' :: [ LOG ] :: Duration: 7s :: [ LOG ] :: Assertions: 3 good, 0 bad :: [ PASS ] :: RESULT: default pwd_expiration_warning :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: pwd_expiration_warning=0 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Sleeping for 5 seconds :: [ PASS ] :: Authentication successful, as expected :: [ PASS ] :: Running 'auth_success policy_user1 Secret123' :: [ PASS ] :: File '/var/log/secure' should contain 'Your password will expire in ' :: [ LOG ] :: Duration: 8s :: [ LOG ] :: Assertions: 3 good, 0 bad :: [ PASS ] :: RESULT: pwd_expiration_warning=0 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: pwd_expiration_warning=15 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Sleeping for 5 seconds :: [ PASS ] :: Authentication successful, as expected :: [ PASS ] :: Running 'auth_success policy_user1 Secret123' :: [ PASS ] :: File '/var/log/secure' should contain 'Your password will expire in ' :: [ LOG ] :: Duration: 7s :: [ LOG ] :: Assertions: 3 good, 0 bad :: [ PASS ] :: RESULT: pwd_expiration_warning=15 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: pwd_expiration_warning=7 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Sleeping for 5 seconds :: [ PASS ] :: Authentication successful, as expected :: [ PASS ] :: Running 'auth_success policy_user1 Secret123' :: [ PASS ] :: File '/var/log/secure' should not contain 'Your password will expire in ' :: [ LOG ] :: Duration: 8s :: [ LOG ] :: Assertions: 3 good, 0 bad :: [ PASS ] :: RESULT: pwd_expiration_warning=7 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Default pwd_expiration_warning and password will expire in 6 days on server :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Sleeping for 5 seconds :: [ PASS ] :: Authentication successful, as expected :: [ PASS ] :: Running 'auth_success policy_user1 Secret123' :: [ PASS ] :: File '/var/log/secure' should contain 'Your password will expire in ' :: [ LOG ] :: Duration: 28s :: [ LOG ] :: Assertions: 3 good, 0 bad :: [ PASS ] :: RESULT: Default pwd_expiration_warning and password will expire in 6 days on server Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0663.html |