Ubuntu: make samba share visible in Windows “Network”



Question:

tl;dr Shared files are accessible, but server isn't visible in Windows listing.

I've got printers and some directories shared via Samba, but they do not appear in the listing when a Windows user opens their "Network". They can type "\computername\" and hit enter to see the shared printers and directories, but I'd like to make it easy to see the server listed along with other icons in their Network panel.

This used to work (ubuntu 13-something, I think), but recently (ubuntu 15.04) it doesn't. So something must have changed with the default configuration. It's probably a simple setting in smb.conf, I just don't know where to look. Any hints?


Solution:1

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.


Solution:2

add lines in smb.conf

wins support = yes  local master = yes  preferred master = yes  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »