Bluehost.com Web Hosting $6.95

nss_ldap and DNS usage issues

This is a discussion on nss_ldap and DNS usage issues within the Linux Networking forums, part of the Linux Forums category; I'm working on enabling nss_ldap for some new linux systems we are installing. A few of them are going ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-21-2003
jef
 
Posts: n/a
Default nss_ldap and DNS usage issues

I'm working on enabling nss_ldap for some new linux systems we are
installing. A few of them are going to be replacements for Solaris systems
that currently use NIS.

When enabling ldap in nsswitch.conf, I lose DNS lookups for hosts, as
explained by the comments in the supplied nsswitch.conf supplied by the
debian package:

# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd: files ldap
group: files ldap

# consult DNS first, we will need it to resolve the LDAP host. (If we
# can't resolve it, we're in infinite recursion, because libldap calls
# gethostbyname(). Careful!)
hosts: dns ldap



So, no problem I think - except that I cannot find a good example of what
the /etc/netconfig file should look like in linux. I have tons of Solaris
examples around, but copying their syntax does not work (I didn't expect
that it would, but I tried anyhow).

My question is, what can I do to get these systems talking to DNS for
hosts? As I mentioned, I am using the debian packages for all of this. It
is possible that they have compiled things to break this. I don't have a
problem building from source, but do not want to do so if I'm just missing
something simple here. (As an aside, communication between the system and
the ldap server works, as I can ssh auth against ldap just fine.)

Thanks - and let me know if I can supply any more information.

jef

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:31 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0