Bug 818836

Summary: ipa pwpolicy-find displays incorrect max and min lifetime.
Product: Red Hat Enterprise Linux 6 Reporter: Gowrishankar Rajaiyan <grajaiya>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.3CC: jgalipea, mkosek, spoore
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-3.0.0-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:12:48 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 Gowrishankar Rajaiyan 2012-05-04 06:55:22 UTC
Description of problem:


Version-Release number of selected component (if applicable):
ipa-server-2.2.0-12.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
ipa pwpolicy-find
  
Actual results:
  Group: global_policy
  Max lifetime (days): 7776000     <<<<<<<<<<
  Min lifetime (hours): 3600       <<<<<<<<<<
  History size: 0
  Character classes: 0
  Min length: 8
  Max failures: 6
  Failure reset interval: 60
  Lockout duration: 600
----------------------------
Number of entries returned 1
----------------------------


Expected results:
  Max lifetime (days): 90
  Min lifetime (hours): 1


Additional info:
"ipa pwpolicy-show" works as expected.

[root@primenova ~]# ipa pwpolicy-show global_policy
  Group: global_policy
  Max lifetime (days): 90
  Min lifetime (hours): 1
  History size: 0
  Character classes: 0
  Min length: 8
  Max failures: 6
  Failure reset interval: 60
  Lockout duration: 600
[root@primenova ~]#

Comment 2 Martin Kosek 2012-05-04 07:52:46 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2726

Comment 3 Martin Kosek 2012-05-28 14:04:25 UTC
Fixed upstream:
master: https://fedorahosted.org/freeipa/changeset/ae1257517064362188b893a939cb336c48097256

Comment 5 Jenny Severance 2012-09-25 15:59:52 UTC
regression test automated in password policy test suite

Comment 8 Scott Poore 2012-11-09 21:56:47 UTC
Verified.

Version ::

ipa-server-3.0.0-7.el6.x86_64

Manual Test Results ::

[root@rhel6-1 yum.local.d]# ipa pwpolicy-find
  Group: global_policy
  Max lifetime (days): 90
  Min lifetime (hours): 1
  History size: 0
  Character classes: 0
  Min length: 8
  Max failures: 6
  Failure reset interval: 60
  Lockout duration: 600
----------------------------
Number of entries returned 1
----------------------------

Comment 10 errata-xmlrpc 2013-02-21 09:12:48 UTC
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-0528.html