Bug 254171 - Automatic DNS discovery of the LDAP server does not work
Summary: Automatic DNS discovery of the LDAP server does not work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nss_ldap
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 254172
TreeView+ depends on / blocked
 
Reported: 2007-08-24 16:01 UTC by Simo Sorce
Modified: 2008-01-02 22:06 UTC (History)
0 users

Fixed In Version: 257-3.fc7
Clone Of:
Environment:
Last Closed: 2008-01-02 22:06:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to correctly format URI from SRV record (500 bytes, patch)
2008-01-02 20:35 UTC, Brandon Ewing
no flags Details | Diff

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.


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