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

Rowland Penny rpenny at samba.org
Sat Apr 1 22:26:28 UTC 2023

On 01/04/2023 23:10, David C. Rankin via samba wrote:
> On 4/1/23 16:25, Rowland Penny via samba wrote:
>> 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.
> Thank you Rowland!
> That's really the question -- I DON'T need smb1. So in that case do I 
> just disable all the Wins and Browse List stuff? Do I even need nmb at 
> that point? (or will it help with the Avahi and wsdd resolution?)

Add 'disable netbios = yes' to your smb.conf and then stop the nmbd 
deamon and restart the smbd daemon.
You only need nmbd for Wins and Network Browsing and Windows now uses 
Network Discovery (which is where wsdd comes in) and Avahi will do 
something similar for Linux clients.

> Basically, I have a network with 4 Linux boxes providing samba shares 
> and then a dozen or so Win10 boxes and iPhones (accessing smb shares via 
> the Files app) and the (the wins server) also provides DNS 
> via bind and ISC dhcpd with dynamic updates to DNS -- so name resolution 
> isn't an issue.

Then you definitely don't need Wins.

> I could just experiment turning wins off and see what 
> connectivity/access is like. Is there an updated doc on setting up 
> standalone without smb1 somewhere?

I think I just wrote it above.

> The crux of the matter is I'm not an Avahi or wsdd expert. When smb1 was 
> enabled, there was clear documentation for configuring smb.conf to 
> handle wins server, wins client, browse-master and election rules. It 
> seems like since smb1 was disabled, there isn't any documentation about 
> what that meant for existing configurations that had used wins, etc..
> So if the answer is -- you can just comment out all the wins and domain 
> master settings, I'm good with that, I've just never been fond of guessing.

One word answer: Yes


More information about the samba mailing list