Is it a good idea to use Samba for sharing between Ubuntu and Windows 10
Ubuntu 22.04 samba share and Windows 10 Enterprise N
Samba is kicking my ass. Does someone have a "perfect" setup file that I could copy to ensure it will work? What does it take to get samba working?
I can access my Samba shared folder but can't write. Permission Denied.
Videos
I want to add this here, in case someone else comes looking. The issue with network discovery is the old way and 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.
And the article provides a link to a python script wsdd.py, which provides the missing functionality. Running the script caused my SAMBA AD servers to instantly appear on Win 10 boxen.
EDIT:
Script is now available under Debian/Ubuntu repository:
sudo apt install wsdd
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:

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 want to share folders between Ubuntu server and Windows 10.