Ubuntu – “Failed to retrieve share list from server” error when browsing a share with Nautilus


A bit before upgrading from 10.04 to 11.10, my Ubuntu desktop stopped allowing me to access my Windows share directories. I figured I'd upgrade to 11.10 and the problem would get fixed but no.

Whenever I click on a Windows network domain using Nautilus, the following message pops up.:

Unable to mount location – Failed to retrieve share list from server

Where do I start troubleshooting this problem? I am getting desperate now 🙁

I tried

sudo mount -t cifs //SomeMachine/SomeShare some_directory

and I get

mount error(115): Operation now in progress

Strangely enough, I got a popup stating:

Could not display network:/// Error: Dbus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply ...

Best Answer

  • I found this advice from Gord Nickerson worked for me: The error message is 'failed to retrieve share list from server' so it cannot browse a Windows 7 pc or a Ubuntu 10 pc or a mac desktop pc.

    First of all, the Samba daemons smbd and nmbd must both be running for network browsing to work. They can be started with service, or with systemctl start for the newer systemd-based releases of Ubuntu.

    smbtree lists all the shares from machines on the network.

    So, off to /etc/samba and we sudo pico smb.conf.

    The name resolve order uses hosts files first and broadcasts last and it is commented out! Maybe we change that to:

    name resolve order = bcast host

    and then restart the servers with service smbd restart and service nmbd restart

    Works! This is an awful mistake to make in an upgrade. Upgrade should not break what is working, particularly something as important as networking. Good thing i recall the manual work you had to do to get samba working back in redhat 5 and 6.

  • Related Question