Bug 254171

Summary: Automatic DNS discovery of the LDAP server does not work
Product: [Fedora] Fedora Reporter: Simo Sorce <ssorce>
Component: nss_ldapAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 257-3.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-02 22:06:18 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: 254172    
Attachments:
Description Flags
Patch to correctly format URI from SRV record none

Description Simo Sorce 2007-08-24 16:01:13 UTC
Description of problem:


Version-Release number of selected component (if applicable):
254-2

How reproducible:
always

Steps to Reproduce:
1. configure nsswitch.conf to use ldap and a DNS record of the form
_ldap._tcp.domain.name to point to the ldap server
2. omit uri and hostname from /etc/ldap.conf
3. getent passwd
  
Actual results:
the ldap server is not contacted and no entries show up

Expected results:
the ldap server is queried and entries show up

Comment 1 Brandon Ewing 2008-01-02 20:35:36 UTC
Created attachment 290677 [details]
Patch to correctly format URI from SRV record

I've been using this for a while now, appears to work correctly.

Comment 2 Nalin Dahyabhai 2008-01-02 22:06:18 UTC
This should be fixed in 257-3, which has been pushed as an update.  Please
reopen if you find that this is not the case.