Enderson Maia wrote:
Hello, I'm implementing LDAP on my company, and for now I have all
users, and sudo rules
stored on it. Today I configured nss to look for hosts at ldap, but
dnsmasq didn't worked
looking there.

So my question is, dnsmasq directly looks for entries on /etc/hosts ou
it obeys the nsswitch.conf
order to search for hosts, that in my case is

hosts: files ldap dns

When I add a host entry on LDAP it works with ping, locally, but
dnsmasq don't find the
host, and remote dns clients don't find it.




dnsmasq doesn't support LDAP, and ignores nsswitch.conf completely. Changing that would not be trivial, sorry.

Cheers,

Simon.


Reply via email to