Implement WS-Discovery to fix FreeNAS disappearance from Windows Network Browser after SMB/1.0 is deprecated.
Windows Explorer Network Browser is not showing FreeNAS in Neighbor if Windows 10 don't have SMB/1.0 enabled and we don't force SMB/1.0 Compatibility in SAMBA.
Because SMB/1.0 is buggy deprecated it's bad idea to enable it.
Problem: Nas is not visible to windows 10 computer in network browser. and for masive nontechnical users accessing via putting address \\MyNAS\ is unhandy.
Solution to this problem acorrding to https://support.microsoft.com/en-ca/help/4034314/smbv1-is-not-installed-by-default-in-windows is implementation of WS-Discovery protocol.
There is ready component (python script on MIT licence that covers that problem)
i successfuylly tested it on my freenas 11.1-U7
IMHO it's hadny to have NAS just visible for windows 10 users as an icon in Explorer in Network Section.
#4 Updated by Andrew Walker over 2 years ago
I will implement this as follows:
There will be a new smb4.conf parameter "enable web service discovery". It defaults to "No". If set to "Yes", then we advertise using the python application. The application itself will be controlled via "samba_server". We'll basically treat it like it's a samba component.
root@FOOTEST:/usr/ports/net/samba49 # service samba_server status smbd is running as pid 29617. winbindd is running as pid 29623. wsdd running is running as pid 29630.
Master PR: https://github.com/freenas/ports/pull/226