Unable to Browse Windows Network Shares in Ubuntu

Issue

When attempting to browse Windows network shares from Gnome Nautilus, the window will become unresponsive and the operation will eventually timeout.

Affects

  • Ubuntu 10.04 LTS
  • Ubuntu 10.10

Cause

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

Resolution

Open /etc/nsswitch.conf in your favorite editor and ensure the hosts line matches the precise order below (you are adding wins).

hosts:          files mdns4_minimal [NOTFOUND=return] wins dns mdns4

Install winbind

sudo apt-get install winbind

References

http://ubuntuforums.org/showthread.php?t=1169149”