Tuesday, July 26, 2011

Unable to see windows shares in ubuntu / linux

Often people end up trying to look for samba in search terms in order to resolve an issue with linux unable to find windows shared folders on the network.

The answers in not samba but wins.
Wins allows you to resolves windows domain names ....

wins is not enabled as a host resolution mechanism in /etc/nsswitch.conf;

Step 1: install wins
sudo apt-get install winbind


Step 2: Enasble wins in nsswitch.conf and ensure the hosts you are adding wins (The order matters depending on the server & network setup ).
This is an example of what it might look like
hosts: files mdns4_minimal [NOTFOUND=return] wins dns


Step 3: Restart the network service
sudo service networking restart


Thats all there is to it....

No comments: