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 2098615 - Regression "Missing internal domain data." when setting ad_domain to incorrect
Summary: Regression "Missing internal domain data." when setting ad_domain to incorrect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Jakub Vavra
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-20 08:13 UTC by Alexey Tikhonov
Modified: 2022-11-08 12:42 UTC (History)
7 users (show)

Fixed In Version: sssd-2.7.2-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 10:51:32 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 6170 0 None closed Regression "Missing internal domain data." when setting ad_domain to incorrect 2022-06-20 08:19:10 UTC
Red Hat Issue Tracker RHELPLAN-125728 0 None None None 2022-06-20 08:24:30 UTC
Red Hat Issue Tracker SSSD-4828 0 None None None 2022-06-20 08:24:32 UTC
Red Hat Product Errata RHBA-2022:7739 0 None None None 2022-11-08 10:51:50 UTC

Description Alexey Tikhonov 2022-06-20 08:13:16 UTC
This bug was initially created as a copy of Bug #2087581

I am copying this bug because: to track fix for RHEL8



Description of problem:
When running a regression test for bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1091957
The test fails. 
It seems to that with incorrect (junk) settings of ad_domain in sssd.conf the sssd is no longer able to recover needed "internal domain data" and without it it does not find the AD user when running getent passwd <aduser>.

Version-Release number of selected component (if applicable):
sssd-2.7.0-2.el9

How reproducible:
always

Steps to Reproduce:
1. Join to the AD using:
realm join --user-principal=host/fqdn

2. Configure sssd.conf domain section as:
[domain/ADTEST]
debug_level = 0xFFF0
id_provider = ad
ad_domain = junk
ad_server=<adserver>

3. Run getent passwd <user on ad server>

Actual results:
User is not found, sssd domain log contains "Missing internal domain data."

Expected results:
User is found.

Additional info:

Comment 1 Alexey Tikhonov 2022-06-20 08:18:11 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6171

* `master`
    * 71b14474bec82a0c57065ad45915ebfeb9e3d03e - ad: add fallback in ad_domain_info_send()
* `sssd-1-16`
    * 410a3faa8cf1e358e53728fae7440a81763ab743 - ad: add fallback in ad_domain_info_send()
* `sssd-2-7`
    * 80ffa314c669feaaffe487d8ea5004c149d948c8 - ad: add fallback in ad_domain_info_send()

Comment 12 errata-xmlrpc 2022-11-08 10:51:32 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:7739


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