GVFS/Nautilus won't list or connect to samba shares
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
New
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: gvfs
I am using Ubuntu 8.04 with packages up to date.
My problem WAS that nautilus would list my Samba and Windows hosts, but when I clicked on them I wouldn't get any shares. I could use smbclient just fine, but gvfs-ls would timeout when trying to list samba shares, ie gvfs-ls smb://MASTER/core .
I fired up wireshark and noticed that whenever I used gvfs-ls smb:// that it sends out a DNS request to my ISP and gets back a successful lookup (wtf?) to 64.158.56.56. I use CHARTER COMMUNICATIONS and they resolve all bad lookups to their "helpful" search page, which explains why I get the timeouts.
I went to my /etc/samba/smb.conf file and uncommented and changed this line:
name resolve order = lmhosts host wins bcast
to
name resolve order = lmhosts wins bcast host
rebooted, and GVFS and Nautilus (as well as all GVFS enabled apps) were working like a dream.
I had the exact same problem, and now it works like a dream. I can't believe that it was a simple config file that was causing the problem!