[Samba] Standalone - Multiple (2) responses received for a query on subnet ...

David C. Rankin drankinatty at gmail.com
Sat Apr 1 21:10:07 UTC 2023


Current Version: samba 4.18.1

All,

   I have several **standalone** servers on a subnet, and for quite some time, 
I have received log messages in other standalone machines about multiple 
responses from the WINS server. There is only a single WINS server on the 
network (as it has been since samba 2.02 or earlier). The WINS server is 
192.168.6.14. The log message that is received for example in other wins 
clients is:

Mar 31 16:54:30 2pi nmbd[38711]: [2023/03/31 16:54:30.530875,  0] 
../../source3/nmbd/nmbd_namequery.c:109(query_name_response)
Mar 31 16:54:30 2pi nmbd[38711]:   query_name_response: Multiple (2) responses 
received for a query on subnet 192.168.6.111 for name RLFPLLC<1d>.
Mar 31 16:54:30 2pi nmbd[38711]:   This response was from IP 192.168.6.14, 
reporting an IP address of 192.168.6.14.

The smb.conf for the wins server is:

# Global parameters
[global]
         dns proxy = No
         domain master = Yes
         log file = /var/log/samba/%m.log
         max log size = 50
         printcap name = /etc/printcap
         security = USER
         server string = %h Samba %v
         wins support = Yes
         workgroup = RLFPLLC
         idmap config * : backend = tdb
         hosts allow = 192.168.6. 192.168.7. 127. 66.76.63.60
         vfs objects = fruit streams_xattr

And for the wins clients:

[global]
         dns proxy = No
         local master = No
         log file = /var/log/samba/%m.log
         max log size = 500
         printcap name = /etc/printcap
         security = USER
         server string = %h Samba %v
         wins server = 192.168.6.14
         workgroup = RLFPLLC
         idmap config * : backend = tdb
         hosts allow = 192.168.6. 192.168.7. 127. 66.76.63.60
         vfs objects = fruit streams_xattr

I have two primary questions:

   (1) Why am I getting the multiple response log messages?

   (2) Is WINS even necessary anymore in the Win10 world? Should I just remove 
all WINS settings and the domain = master that forces browse master elections? 
Seems like all of that should have gone the way of the dinosaur when smb1 was 
turned off by default? Any other settings I should remove if this is the case?


-- 
David C. Rankin, J.D.,P.E.



More information about the samba mailing list