Bug 254171 - Automatic DNS discovery of the LDAP server does not work
Automatic DNS discovery of the LDAP server does not work
Product: Fedora
Classification: Fedora
Component: nss_ldap (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Nalin Dahyabhai
Fedora Extras Quality Assurance
Depends On:
Blocks: 254172
  Show dependency treegraph
Reported: 2007-08-24 12:01 EDT by Simo Sorce
Modified: 2008-01-02 17:06 EST (History)
0 users

See Also:
Fixed In Version: 257-3.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-02 17:06:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Simo Sorce 2007-08-24 12:01:13 EDT
Description of problem:

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

How reproducible:

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 15:35:36 EST
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 17:06:18 EST
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.