Red Hat Bugzilla – Bug 914671
pwd_expiration_warning has wrong default for Kerberos
Last modified: 2013-03-19 14:36:18 EDT
This bug has been copied from bug #911329 and has been proposed to be backported to 6.4 z-stream (EUS).
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