Hi again gurus,

I'm in the process of converting our organization from NIS to LDAP. I have an LDAP server set up and working, i.e.

1) ldapsearch -x returns stuff
2) id <username> returns the correct information

And maybe I misunderstand, but it's my understanding that I can use LDAP to also set up a list of known hosts -- i.e. a replacement for the NIS hosts.byname map. So I:

1) Set up a ou=hosts,dc=nimbios,dc=org entry in the database
2) In /etc/ldap/ldap.conf, I set: nss_base_hosts ou=hosts,dc=nimbios,dc=org
2) In /etc/nsswitch.conf I set: hosts: files ldap dns

But when I do so the networking freezes on the client until I remove the "ldap" from the "hosts" entry in /etc/nsswitch.conf.

Do I misunderstand how this is supposed to work? I would have thought that if the hosts lookup in LDAP failed then it would fall through to DNS.

Thanks for your help,

Michael


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to