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 1478252 - Querying the AD domain for external domain's ID can mark the AD domain offline [rhel-7.4.z]
Summary: Querying the AD domain for external domain's ID can mark the AD domain offli...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.3
Hardware: All
OS: All
urgent
urgent
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Sudhir Menon
URL:
Whiteboard:
Depends On: 1474711
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-04 06:42 UTC by Oneata Mircea Teodor
Modified: 2020-05-04 11:02 UTC (History)
11 users (show)

Fixed In Version: sssd-1.15.2-50.el7_4.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1474711
Environment:
Last Closed: 2017-09-05 11:24:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 4479 0 None None None 2020-05-04 11:02:41 UTC
Red Hat Product Errata RHBA-2017:2574 0 normal SHIPPED_LIVE sssd bug fix update 2017-09-05 15:17:48 UTC

Description Oneata Mircea Teodor 2017-08-04 06:42:10 UTC
This bug has been copied from bug #1474711 and has been proposed to be backported to 7.4 z-stream (EUS).

Comment 3 Sudhir Menon 2017-08-18 09:49:47 UTC
Marking the bug as verified as the AD domain is not marked offline when domain resolution order is changed.

Verified on RHEL7.4 using 
sssd-1.15.2-50.el7_4.2.x86_64
ipa-server-4.5.0-21.el7_4.1.x86_64
389-ds-base-1.3.6.1-17.el7_4.x86_64
selinux-policy-3.13.1-166.el7.noarch

Steps:-
#ipa trust-add --range-type=ipa-ad-trust-posix --two-way=true

[root@cypher sssd]# ipa trust-find
---------------
1 trust matched
---------------
  Realm name: pne.qe
  Domain NetBIOS name: PNE
  Domain Security Identifier: S-1-5-21-2202318585-426110948-4011710778
  Trust type: Active Directory domain
  UPN suffixes: test.qa, pune.in
----------------------------
Number of entries returned 1
----------------------------
[root@cypher sssd]# ipa idrange-find
----------------
2 ranges matched
----------------
  Range name: PNE.QE_id_range
  First Posix ID of the range: 1261600000
  Number of IDs in the range: 200000
  Domain SID of the trusted domain: S-1-5-21-2202318585-426110948-4011710778
  Range type: Active Directory trust range with POSIX attributes

  Range name: TESTRELM.TEST_id_range
  First Posix ID of the range: 315200000
  Number of IDs in the range: 200000
  First RID of the corresponding RID range: 1000
  First RID of the secondary RID range: 100000000
  Range type: local domain range
----------------------------
Number of entries returned 2
----------------------------

[root@cypher sssd]#  ipa config-mod --domain-resolution-order='pne.qe:testrelm.test'
  Maximum username length: 32
  Home directory base: /home
  Default shell: /bin/sh
  Default users group: ipausers
  Default e-mail domain: testrelm.test
  Search time limit: 2
  Search size limit: 100
  User search fields: uid,givenname,sn,telephonenumber,ou,title
  Group search fields: cn,description
  Enable migration mode: FALSE
  Certificate Subject base: O=TESTRELM.TEST
  Password Expiration Notification (days): 4
  Password plugin features: AllowNThash, KDC:Disable Last Success
  SELinux user map order: guest_u:s0$xguest_u:s0$user_u:s0$staff_u:s0-s0:c0.c1023$unconfined_u:s0-s0:c0.c1023
  Default SELinux user: unconfined_u:s0-s0:c0.c1023
  Default PAC types: MS-PAC, nfs:NONE
  IPA masters: cypher.testrelm.test
  IPA CA servers: cypher.testrelm.test
  IPA NTP servers: cypher.testrelm.test
  IPA CA renewal master: cypher.testrelm.test
  IPA master capable of PKINIT: cypher.testrelm.test
  Domain resolution order: pne.qe:testrelm.test  <------- 

[root@cypher ~]# id ipauser1
uid=315200004(ipauser1) gid=315200004(ipauser1) groups=315200004(ipauser1)

====sssd log===
(Fri Aug 18 05:13:26 2017) [sssd[be[testrelm.test]]] [sss_domain_get_state] (0x1000): Domain pne.qe is Active
(Fri Aug 18 05:13:26 2017) [sssd[be[testrelm.test]]] [sss_domain_get_state] (0x1000): Domain chd.pne.qe is Active
(Fri Aug 18 05:13:26 2017) [sssd[be[testrelm.test]]] [link_forest_roots] (0x2000): [testrelm.test] is a forest root
(Fri Aug 18 05:13:26 2017) [sssd[be[testrelm.test]]] [sss_domain_get_state] (0x1000): Domain pne.qe is Active
(Fri Aug 18 05:13:26 2017) [sssd[be[testrelm.test]]] [sss_domain_get_state] (0x1000): Domain chd.pne.qe is Active
(Fri Aug 18 05:13:26 2017) [sssd[be[testrelm.test]]] [sss_domain_get_state] (0x1000): Domain pne.qe is Active

Comment 5 errata-xmlrpc 2017-09-05 11:24:49 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://access.redhat.com/errata/RHBA-2017:2574


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