make samba share visible in Windows "Network"

I want to add this here, in case someone else comes looking. The issue with network discovery is the old way was tied to SMB1. The new way WS-Discovery, does not yet appear to be implemented in SAMBA. Windows does not yet support Zerconf so AVAHI does not work for Windows.

Falling back to SMB1 while disabling SMB2/3 is not the answer.

Someone named stilez wrote an article describing the situation here: https://www.ixsystems.com/community/resources/how-to-kill-off-smb1-netbios-wins-and-still-have-windows-network-neighbourhood-better-than-ever.106/

And the article provides a link to a python script wsdd.py(https://github.com/christgau/wsdd/blob/master/src/wsdd.py), which provides the missing functionality. Running the script caused my SAMBA AD servers to instantly appear on Win 10 boxen.


I've been hammering away at this problem for a few weeks, on and off, and it is only now that I have found the last piece of the puzzle for Windows 10 to see Samba shares in Network (places).

It's all described fully at this link:

How to detect, enable and disable SMBv1, SMBv2, and SMBv3 in Windows and Windows Server

Essentially, you need to enable SMBv1 / CIFS sharing support in Windows 10:

Turn Windows Features on or off

Just hit START in Windows and search for 'Turn Windows features on or off' and it'll take you there.

After I did this, all my problems vanished. Tada!

I don't know if it has reduced the security of my network (probably has!), but if it has it doesn't matter to me too much as it's all on LAN anyway.

Hope this helps some other people out.


I have been using OpenSuse Leap 42.2 and as windows updates is breaks my samba network. This configuration in the [Global] section of samba config has worked until billy's recent updates and stopped working on my Windows 7 and 10 machines. My global section of samba config was:

[global] 
    workgroup = WORKGROUP
    netbios name = LINUXSERVER
    lanman auth = no
    ntlm auth = yes
    client lanman auth = no

I then added the 3 lines found on this site so global now reads:

[global]
    workgroup = WORKGROUP
    netbios name = LINUXSERVER
    lanman auth = no
    ntlm auth = yes
    client lanman auth = no
    wins support = yes
    local master = yes
    preferred master = yes

Now my samba shares show up in Windows 7/10. I know this is a Ubuntu forum but I am always willing to try to help fellow Linux users.


The problem is that NetBios discovery is now disabled by default in Windows for security reasons, and Samba never implemented support for Web Services for Windows (WSD), which is the "modern" way, AFAICT, for things to be visible in Windows Network.

https://bugzilla.samba.org/show_bug.cgi?id=11473

Also see: https://github.com/christgau/wsdd for a possible solution.