David C. Rankin
2023-Apr-01 21:10 UTC
[Samba] Standalone - Multiple (2) responses received for a query on subnet ...
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.
Rowland Penny
2023-Apr-01 21:25 UTC
[Samba] Standalone - Multiple (2) responses received for a query on subnet ...
On 01/04/2023 22:10, David C. Rankin via samba wrote:> 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? > >As far as 1 is concerned, not really sure, but as far as 2 is concerned, well the answer is probably no, you really need SMBv1 for WINS and smbv1 is now turned off by default everywhere. You will probably be better using Avahi for Linux and wsdd for Windows. Rowland