Comment 3 for bug 148459

Revision history for this message
Gavin McCullagh (gmccullagh) wrote :

Do you mean I need to give you steps to repeat the problem?

I guess that would be:

1. Edit the hosts line in /etc/nsswitch.conf
       hosts: files mdns4_minimal [NOTFOUND=return] wins dns mdns4

2. Set up samba, with /etc/samba/smb.conf including
       wins support = yes
       name resolve order = lmhosts host wins bcast dns
   I can supply a full smb.conf if needed.

3. Set up fetchmail as a daemon, logging to syslog.

4. On receipt of mail or other output from fetchmail, the log will be from nss_wins instead of fetchmail.

I imagine you can substitute fetchmail with other things which do similar DNS lookups, mountd for example seems to work, although ssh doesn't seem to trigger it and I would imagine it does dns lookups. Perhaps ssh doesn't read nsswitch.conf.