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 743503

Summary: [RFE] sssd should support DNS sites
Product: Red Hat Enterprise Linux 7 Reporter: Ondrej Valousek <ondrejv>
Component: sssdAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED CURRENTRELEASE QA Contact: Kaushik Banerjee <kbanerje>
Severity: low Docs Contact:
Priority: high    
Version: 7.0CC: agunn, atolani, dpal, grajaiya, jgalipea, prc, riehecky
Target Milestone: rcKeywords: FutureFeature
Target Release: 7.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sssd-1.10.0-10.el7.beta2 Doc Type: Enhancement
Doc Text:
Feature: The SSSD is able to locate the nearest Active Directory Domain Controller using the Active Directory "sites" feature, similar to how Windows clients work. Reason: In large environments, especially geographically distributed, it is common to have several "sites" defined in DNS and the client should be automatically directed to the nearest site to avoid connecting to a distant server. Result (if any): The SSSD transparently connects to the site as defined on the Active Directory server side and is able to fail over to the other sites in case the primary one is unreachable.
Story Points: ---
Clone Of:
: 1044729 (view as bug list) Environment:
Last Closed: 2014-06-13 13:27:15 UTC Type: ---
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: 747612, 1044729    

Description Ondrej Valousek 2011-10-05 07:12:18 UTC
SSSD should support DNS "sites" concept known from Active Directory. Example:
Example AD domain CONTOSO.COM used on 3 sites - Prague,Cork, Dublin.
I have machine in Prague and I want it to join CONTOSO.COM. Now if I used:
 
dns_discovery_domain = contoso.com
 
sssd would try to connect to any DC in the domain - even the one in Dublin, completely ignoring sites.
I have to use:
 
dns_discovery_domain = Prague._sites.contoso.com
 
To force it to use Prague DCs only.
My understanding is, that the "DC locator" tries to communicate with DC's first to determine local site and remote DC's are only used if no valid/working DC can be found in the local site (Prague in this case).

This is AD specific functionality, but this concept would find its use also in large IPA domains where multiple IPA servers for the same domain exist in demographically different sites.

I believe some of the necessary code can be "stolen" from the Samba winbind component which implements this functionality

Comment 3 Stephen Gallagher 2011-10-05 11:58:49 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/1032

Comment 5 Jakub Hrozek 2013-05-02 15:04:28 UTC
Pushed upstream.

Comment 6 Jakub Hrozek 2013-10-04 13:25:11 UTC
Temporarily moving bugs to MODIFIED to work around errata tool bug

Comment 9 Ludek Smid 2014-06-13 13:27:15 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.