I'm trying to follow this guide to access Samba shares: Ubuntu 12.04 LTS Precise Pangolin: File sharing with Samba.
but I'm sure there are many of them. I've had problems with Samba before. In fact in my xx years of life on Linux I have never successfully setup Samba.
The steps would be:
Update your system
Install samba
$ sudo apt-get install samba samba-common winbind
Configure windbind
$ sudo gedit /etc/nsswitch.conf
and "wins" to the hosts line.
Reboot
"Having done this you should now be able to select ‘GO > Network’ from the desktop menu and view your entire Windows and Linux based network."
But in my case I just see "Windows network" which is an empty folder and that's all. No shares from windows neither Linux PC's.
Can anyone tell me what I'm missing or doing wrong?
cifs.utils
/smbfs
packages and possibly some desktop environment component: a SMB gvfs backend for Gnome or a SMB kioslave for KDE, for example. Or something likesmbnetfs
.winbind
forwins
hostname resolution is rapidly becoming obsolete (unless you explicitly enable SMBv1 on the Windows side, which is very much not recommended for security reasons). Thecifs.utils
and similar tools will still work for connecting to known Windows shares, but any tools to find and list SMB shares will need to be re-implemented to use the WS-Discover protocol when SMBv1 will no longer be supported by Windows.