RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1784761 - Kerberos ticket policy reset does not reset per-indicator policies
Summary: Kerberos ticket policy reset does not reset per-indicator policies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-18 09:41 UTC by anuja
Modified: 2023-02-12 22:27 UTC (History)
7 users (show)

Fixed In Version: ipa-4.8.4-3.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 15:44:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
console logs (1.94 KB, text/plain)
2019-12-18 09:41 UTC, anuja
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure freeipa issue 8153 0 None None None 2019-12-18 10:13:43 UTC
Red Hat Issue Tracker FREEIPA-9431 0 None None None 2023-02-12 22:27:15 UTC
Red Hat Issue Tracker RHELPLAN-31226 0 None None None 2023-02-12 22:26:01 UTC
Red Hat Product Errata RHEA-2020:1640 0 None None None 2020-04-28 15:44:56 UTC

Description anuja 2019-12-18 09:41:09 UTC
Created attachment 1646061 [details]
console logs

Description of problem:

1: run ipa krbtpolicy-mod --maxlife=28800 --maxrenew=86400
2: also modify for all auth type [ OTP RADIUS PKINIT HARDENED ]
3: ipa krbtpolicy-reset test-otp
4: after reset observe output of ipa krbtpolicy-show test-otp

Version-Release number of selected component (if applicable):
ipa-server-4.8.4-2.module+el8.2.0+5265+c70de5c4.x86_64

Steps to Reproduce:

1: run ipa krbtpolicy-mod --maxlife=28800 --maxrenew=86400 test-user
2: also modify for OTP RADIUS PKINIT HARDENED 
3: ipa krbtpolicy-reset test-user
4: after reset observe output of ipa krbtpolicy-show test-user

Actual results:
After reset the output of krbtpolicy-show is not consistent. 

Expected results:
After reset the output of krbtpolicy-show should be consistent.

Comment 1 Alexander Bokovoy 2019-12-18 10:24:21 UTC
Upstream PR: https://github.com/freeipa/freeipa/pull/4057

Comment 2 Alexander Bokovoy 2019-12-18 13:31:07 UTC
Upstream:
master:

    2ed5eca762e136a1db9d3c20ec068d562b215699 Reset per-indicator Kerberos policy

Comment 3 Florence Blanc-Renaud 2019-12-18 17:46:03 UTC
Fixed upstream
ipa-4-8:
https://pagure.io/freeipa/c/a8b52eaf3cf56c90e3d94fdef0b9e426052634ea

Comment 7 anuja 2020-02-25 08:45:12 UTC
Verified Using: 
name: ipa-server
release: 6.module+el8.2.0+5773+68ace8c5
source: rpm
version: 4.8.4
================================================================================
Automated Test: upstream:test_krbtpolicy.py::test_krbtpolicy_reset
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/libexec/platform-python
cachedir: .pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-180.el8.x86_64-x86_64-with-redhat-8.2-Ootpa', 'Packages': {'pytest': '3.4.2', 'py': '1.5.3', 'pluggy': '0.6.0'}, 'Plugins': {'metadata': '1.8.0', 'html': '1.22.1', 'sourceorder': '0.5', 'multihost': '3.0'}}
rootdir: /home/cloud-user, inifile:
plugins: metadata-1.8.0, html-1.22.1, sourceorder-0.5, multihost-3.0
collecting ... collected 5 items

test_krbtpolicy.py::TestPWPolicy::test_krbtpolicy_default <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_krbtpolicy.py PASSED [ 20%]
test_krbtpolicy.py::TestPWPolicy::test_krbtpolicy_hardended <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_krbtpolicy.py PASSED [ 40%]
test_krbtpolicy.py::TestPWPolicy::test_krbtpolicy_password <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_krbtpolicy.py PASSED [ 60%]
test_krbtpolicy.py::TestPWPolicy::test_krbtpolicy_otp <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_krbtpolicy.py PASSED [ 80%]
test_krbtpolicy.py::TestPWPolicy::test_krbtpolicy_reset <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_krbtpolicy.py PASSED [100%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
========================== 5 passed in 486.89 seconds ==========================

Comment 9 errata-xmlrpc 2020-04-28 15:44:43 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.

https://access.redhat.com/errata/RHEA-2020:1640


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