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 1344940 - GSSAPI error causes failures for child domain user logins across IPA - AD trust
Summary: GSSAPI error causes failures for child domain user logins across IPA - AD trust
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.2
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Steeve Goveas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-12 22:24 UTC by Amy Farley
Modified: 2020-05-02 18:24 UTC (History)
16 users (show)

Fixed In Version: sssd-1.14.0-12.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 07:18:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 4136 0 None None None 2020-05-02 18:24:53 UTC
Red Hat Product Errata RHEA-2016:2476 0 normal SHIPPED_LIVE sssd bug fix and enhancement update 2016-11-03 14:08:11 UTC

Comment 4 Petr Vobornik 2016-06-13 15:11:01 UTC
Adding Alexander and Jakub,..

Comment 15 Amy Farley 2016-07-06 16:21:00 UTC
From the customer:

Internal management needs a status on trust issue. We need to come up with assessment and action plan asap.

Do we have any workarounds that they can do? Authentication is not working for them.

Comment 24 Sumit Bose 2016-07-20 09:55:12 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/3103

Comment 27 Sumit Bose 2016-07-21 14:16:19 UTC
How to test:

Currently if IPA trusts an AD forest with multiple names the [capaths] section in /var/lib/sss/pubconf/krb5.include.d/domain_realm_IPA_DEVEL looks like:

[capaths]
AD.DEVEL = {
  IPA.DEVEL = AD.DEVEL
}
IPA.DEVEL = {
  AD.DEVEL = AD.DEVEL
}
CHILD.AD.DEVEL = {
  IPA.DEVEL = AD.DEVEL
}
IPA.DEVEL = {
  CHILD.AD.DEVEL = AD.DEVEL
}
IPA.DEVEL = {
  CHILD.AD.DEVEL = AD.DEVEL
}

which is wrong, there should be only one sub-section for each domain:

[capaths]
AD.DEVEL = {
  IPA.DEVEL = AD.DEVEL
}
CHILD.AD.DEVEL = {
  IPA.DEVEL = AD.DEVEL
}
IPA.DEVEL = {
  AD.DEVEL = AD.DEVEL
  CHILD.AD.DEVEL = AD.DEVEL
}

Comment 28 Lukas Slebodnik 2016-07-25 12:17:02 UTC
master: 
* 66588a6241df42a04cb9ead75cf3afb38495d74a 
* 2efebde7ddd5f1729a70ef4ec9de607cc393214c 
* 5e40ba3168e21dbd5fa1812d6f2fc95f508a9e6e

Comment 33 Sudhir Menon 2016-08-17 13:23:11 UTC
Verified on RHEL7.3 using 

sssd-1.14.0-18.el7.x86_64
ipa-server-4.4.0-7.el7.x86_64
ipa-server-trust-ad-4.4.0-7.el7.x86_64

[root@ipaserver db]# ipa trustdomain-find
Realm name: pne.qe
  Domain name: chd.pne.qe
  Domain NetBIOS name: CHD
  Domain Security Identifier: S-1-5-21-725505228-2944741108-2454985349
  Domain enabled: True

  Domain name: chd2.pne.qe
  Domain NetBIOS name: CHD2
  Domain Security Identifier: S-1-5-21-1720992857-1892626802-862641562
  Domain enabled: True

  Domain name: pne.qe
  Domain NetBIOS name: PNE
  Domain Security Identifier: S-1-5-21-3912719521-1967590360-1136226524
  Domain enabled: True
----------------------------
Number of entries returned 3
----------------------------

#cat /var/lib/sss/pubconf/krb5.include.d/domain_realm_redlabs_qe 

[domain_realm]
.pne.qe = PNE.QE
pne.qe = PNE.QE
.chd.pne.qe = CHD.PNE.QE
chd.pne.qe = CHD.PNE.QE
.chd2.pne.qe = CHD2.PNE.QE
chd2.pne.qe = CHD2.PNE.QE

[capaths]
PNE.QE = {
  REDLABS.QE = PNE.QE
}
CHD.PNE.QE = {
  REDLABS.QE = PNE.QE
}
CHD2.PNE.QE = {
  REDLABS.QE = PNE.QE
}
REDLABS.QE = {
  PNE.QE = PNE.QE
  CHD.PNE.QE = PNE.QE
  CHD2.PNE.QE = PNE.QE
}

Comment 35 errata-xmlrpc 2016-11-04 07:18:54 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://rhn.redhat.com/errata/RHEA-2016-2476.html


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