Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1774140

Summary: Backport patches for objectCategory and smart refresh improvements
Product: Red Hat Enterprise Linux 7 Reporter: agilley
Component: sssdAssignee: Pavel Březina <pbrezina>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.9CC: agilley, atikhono, dlavu, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sgoveas, thalman, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: sssd-1.16.5-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 19:49:11 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 agilley 2019-11-19 17:01:58 UTC
Description of problem:

Based on an email chain with Pavel I am opening this to backport patches for objectCategory to improve performance. 


Patches submitted to upstream:

to be included in the 8.2 rebase but need to be backported to RHEL 7

I opened https://github.com/SSSD/sssd/pull/939 to get objectCategory
patch to upstream.


Other patches:

>     Added these patches:
>     0001-sudo-do-not-update-last-usn-value-on-rules-refresh.patch
>     0002-man-update-sudo-smart-refresh-documentation-to-refle.patch
>     0003-sdap-update-last_usn-on-reconnect.patch
>     0004-sudo-always-use-server-highest-known-usn-for-smart-r.patch


These are part of sssd 2.2 which is in RHEL-8.1. Although there came few
more fixes:

https://pagure.io/SSSD/sssd/issue/3996
https://pagure.io/SSSD/sssd/issue/4085

Comment 2 Pavel Březina 2019-11-21 10:39:20 UTC
Upstream PR:
https://github.com/SSSD/sssd/pull/944

Comment 3 Michal Zidek 2019-12-11 13:27:17 UTC
Added 8 commits to sssd-1-16:
634c1e0e439783fb11ec58994a97b1412bf3c0fb
fd8865e802661ebc799d3d99dfc9c40137998c66
a1be9af749d08af2fd2f9d0c33b28836b7893072
19e8a02b0e1ddd57784200e519fc5c59141952ee
fb2c54b69e7cc7990f50a93084e5f79fc6216102
3f370ad8c0d2d168a439e37b92c0b7a932e87050
38d00c4b44e18db950fc3d98757fa19cce8454a8
638431001164eeace976ed0d9db62a837a1ee426

Comment 8 Dan Lavu 2020-06-09 23:58:46 UTC
This has been verified against sssd-1.16.5-1.el7.x86_64, sudo tests in CI are successful.
https://idm-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/blue/organizations/jenkins/sssd-rhel-prod-tier3/detail/RHEL7.9/5/pipeline/74

Comment 10 errata-xmlrpc 2020-09-29 19:49:11 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 (sssd bug fix and enhancement update), 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/RHBA-2020:3904