Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 914671 - pwd_expiration_warning has wrong default for Kerberos
pwd_expiration_warning has wrong default for Kerberos
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd (Show other bugs)
6.4
Unspecified Unspecified
high Severity high
: rc
: ---
Assigned To: Jakub Hrozek
Kaushik Banerjee
: Regression, ZStream
Depends On: 911329
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-22 08:24 EST by Jiri Pallich
Modified: 2013-03-19 14:36 EDT (History)
8 users (show)

See Also:
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 14:34:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0663 normal SHIPPED_LIVE Moderate: sssd security and bug fix update 2013-03-19 18:34:08 EDT

  None (edit)
Description Jiri Pallich 2013-02-22 08:24:57 EST
This bug has been copied from bug #911329 and has been proposed
to be backported to 6.4 z-stream (EUS).
Comment 6 Kaushik Banerjee 2013-03-01 07:56:09 EST
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
Comment 7 Jakub Hrozek 2013-03-01 11:02:04 EST
Thanks for the catch, the issue should be fixed in sssd-1.9.2-82.3.el6_4
Comment 8 Kaushik Banerjee 2013-03-04 03:30:02 EST
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
Comment 10 errata-xmlrpc 2013-03-19 14:34:57 EDT
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

Note You need to log in before you can comment on or make changes to this bug.