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 2012327

Summary: Groups are missing while performing id lookup as SSSD switching to offline mode due to the wrong domain name in the ldap-pings(netlogon).
Product: Red Hat Enterprise Linux 8 Reporter: Chetan Patil <cpatil>
Component: sssdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: shridhar <sgadekar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.4CC: abroy, atikhono, Colin.Simpson, csoliard, dannys, dlavu, grajaiya, jhrozek, lslebodn, mfalz, mzidek, pbrezina, sbose, sgadekar, tscherf
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: sssd-2.6.2-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2046162 (view as bug list) Environment:
Last Closed: 2022-05-10 15:26:45 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:
Bug Depends On:    
Bug Blocks: 2046162    

Description Chetan Patil 2021-10-08 20:53:28 UTC
Description of problem:

Groups are missing while performing id lookup.

Upon further checking with sumit on idm-tech it was found that SSSD is switching to offline mode due to wrong domain name in the ldap-pings(netlogon)

This might already cause issues with accessing other domains in the forest and hence might explain the missing groups.



Version-Release number of selected component (if applicable):

sssd-2.4.0-9.el8_4.2.x86_64


Actual results:

Group membership is losing intermittently


Expected results:

id lookup should contain all the required groups.

Comment 3 Sumit Bose 2021-10-11 14:48:08 UTC
Upstream ticket:
https://github.com/SSSD/sssd/issues/5822

Comment 14 Alexey Tikhonov 2021-11-19 11:58:25 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/5883

Comment 16 Alexey Tikhonov 2021-12-03 14:32:00 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5883

* `master`
    * c0941810fc3c3d74a00697349723f14e2f6bbdd2 - cldap: use dns_resolver_server_timeout timeout for cldap ping
    * 724293d0873ee3229866ae4c13e1c8829375146f - ad: only send cldap-ping to our local domain
    * 918abaf37d7f13d72b29863933e133bcbd24d87c - ad: make ad_srv_plugin_ctx_switch_site() public
    * 99c4161910e542dd40c740032196d268c4163d07 - ad: use already discovered forest name
    * 4508ef5f7183c640191393605ea163044d9ac267 - ad: move current site and forest name to a more global context
    * b37e2713a9b86936f5b82a17e47757562900b911 - ad: require name when looking up root domain

Comment 27 Alexey Tikhonov 2022-01-13 17:46:22 UTC
*** Bug 2028833 has been marked as a duplicate of this bug. ***

Comment 29 Alexey Tikhonov 2022-01-18 12:11:18 UTC
*** Bug 2041768 has been marked as a duplicate of this bug. ***

Comment 41 errata-xmlrpc 2022-05-10 15:26:45 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-2022:2070