Bug 771964 - SSSD should use all DNS search domains in resolv.conf
Summary: SSSD should use all DNS search domains in resolv.conf
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Kaushik Banerjee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-05 14:29 UTC by Dmitri Pal
Modified: 2020-05-02 16:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-24 11:21:48 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 2029 0 None None None 2020-05-02 16:25:08 UTC

Description Dmitri Pal 2012-01-05 14:29:37 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/sssd/ticket/987

Currently, SSSD uses the following algorithm to determine which DNS domain to search for auto-discorvery:

 1. If {{{dns_discovery_domain}}} is set in sssd.conf, that is definitive.
 1. Try to use {{{hostname -d}}}
 1. Fall back to using the SSSD domain name in sssd.conf

It would be better if we used the search domains specified in {{{/etc/resolv.conf}}}

So I suggest the algorithm should be:

 1. If {{{dns_discovery_domain}}} is set in sssd.conf, that is definitive.
 1. Iterate through /etc/resolv.conf search domains
 1. Try to use {{{hostname -d}}}
 1. Fall back to using the SSSD domain name in sssd.conf

This way we'll prioritize the new approach, but leave the existing approach as a fallback option.

Comment 3 Jakub Hrozek 2014-07-02 15:04:16 UTC
The upstream ticket is targetting 1.13, so I'm reproposing the BZ to RHEL-7.2

Comment 4 Martin Kosek 2015-04-24 11:21:48 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise Linux. Unfortunately, this bug was not given a priority and was deferred both in the upstream project and in Red Hat Enterprise Linux.

Given that we are unable to fulfill this request in following Red Hat Enterprise Linux releases, I am closing the Bugzilla as DEFERRED. To request that Red Hat re-considers the decision, please re-open the Bugzilla via appropriate support channels and provide additional business and/or technical details about its importance to you.

Note that you can still track this request or even contribute patches in the referred upstream Trac ticket.


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