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.
DescriptionAlexey Tikhonov
2021-08-27 09:46:00 UTC
This bug was initially created as a copy of Bug #1984591
I am copying this bug because: to track fix for RHEL9
Description of problem:
- After sssd update to 1.16.5-10.el7_9.8.x86_64 the customer is facing slow connection/authentication.
BEFORE UPGRADE:
[root@HOST01 ~]# date; time id sssd
Tue Jun 29 13:41:22 EDT 2021
uid=217(sssd) gid=987(sssd) groups=987(sssd)
real 1m30.030s
user 0m0.004s
sys 0m0.004s
AFTER DOWNGRADE
[root@HOST01 ~]# date; time id sssd
Tue Jun 29 13:47:17 EDT 2021
uid=217(sssd) gid=987(sssd) groups=987(sssd)
real 0m7.300s
user 0m0.003s
sys 0m0.004s
=======================================================================
Version-Release number of selected component (if applicable):
BEFORE:
1.16.5-10.el7_9.7.x86_64
AFTER UPGRADE:
1.16.5-10.el7_9.8.x86_64
=======================================================================
How reproducible:
Upgrading sssd
Steps to Reproduce:
1. Upgrading sssd
2. Authentication and fetch users/groups are slowing.
3. Restarting sssd and clear cache does NOT help.
======================================================================
Actual results:
Slow authentication and fetch users.
Expected results:
Normal behaviour as using previous version:
=====================================================================
Additional info:
A - We figure out a workaround adding the parameter "ad_enabled_domains " on sssd.conf, however the customer said that it worked for more than 3 years without add the below line:
ad_enabled_domains = domain1.com, domain2.example.com, domain3.example.com, domain4.example.com.
B- After add "ad_enabled_domains", the sssd is working properly again with the new sssd release.
C- We also noticed the below difference after the update:
[root@zzzkctst011 ~]# sssctl domain-list
domain1.com
domain2.example.com
domain3.example.com
domain4.example.com.
[root@HOST01 ~]# rpm -q sssd
sssd-1.16.5-10.el7_9.7.x86_64
**NOTE: JUST 4 DOMAINS ARE FETCHED.
But after updating it to version 1.16.5-10.0.1.el7_9.8 we are seeing this domains.
[root@HOST01 ~]# sssctl domain-list
domain1.com
domain2.example.com
domain3.example.com
domain4.example.com.
DOMAIN.NET
DOMAIN.DMZ
DOMAIN5.COM
DOMAIN.LOCAL
**NOTE: MANY MORE DOMAINS ARE FETCHED SOME OF THEM INATIVES.
[root@HOST01 ~]# rpm -q sssd
sssd-1.16.5-10.el7_9.8.x86_64
D- I suspect the fixed #4980 is affecting this part:
https://sssd.io/release-notes/sssd-1.16.5.html
https://github.com/SSSD/sssd/commit/95adf488f94f5968f6cfba9e3bef74c07c02ccff causes more domains to appear and in the given case it causes some direct trusts to domains from different forests to show up as well.
It makes sense to filter those (not trusted and from a different forest) domains.
Comments in bz 1984591 may provide additional info.
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 (new packages: sssd), 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-2022:4015