On Mon, 2003-08-04 at 20:25, Gordon Messmer wrote: > Piero Calucci wrote: > > is there anybody using nss_ldap for host name lookup? I tried > > > > hosts: files dns ldap > > > > in my nsswitch.conf with no results, ie I don't even see any outgoing > > query to the ldap server > > Do you also have /etc/ldap.conf set up to specify the "host" and "base" > of your directory? yes, in fact autentication via pam_ldap works I've just read sth about different behavior of gethostbyname and getaddrinfo when dealing with ldap (http://www.firenze.linux.it/~piccardi/ldap/node15.html, italian). I also strace'ed a "telnet somehost" where somehost is resolvable with ldap but not with dns, and I see that libnss_ldap.so.2 is opened at some point, but nothing is being done with it. Can anybody explain this? Thanks, Piero -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list