Networking Forums

Networking Forums > Computer Networking > Linux Networking > nss_ldap and DNS usage issues

Reply
Thread Tools Display Modes

nss_ldap and DNS usage issues

 
 
jef
Guest
Posts: n/a

 
      10-21-2003, 02:59 PM
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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nss_ldap and pam_ldap is enough? Andrea Linux Networking 2 12-02-2007 08:26 PM
SSh usage rahul8143@gmail.com Linux Networking 2 10-12-2005 06:37 PM
CPU usage - TCP vs UDP Linux Networking 4 03-04-2005 07:05 PM
PPTP issues including issues with routing Sameer Windows Networking 0 04-27-2004 05:06 AM
[UK-Bug] News .. BT Yahoo issues P2P usage warnings Andy Jenkins Broadband 0 03-03-2004 06:45 PM



1 2 3 4 5 6 7 8 9 10 11