Yesterday (12/17/16), I updated my Centos 7 machine with the latest updates. Prior to the updates both my Windows 10 and Centos 7 machines were able to access Samba shares hosted on a Fedora 25 server. After rebooting the Centos 7 machine, I get the dreaded "Unable to access location --- Failed to receive share list from server --- Connection refused" message when trying to mount the shares via the "Network Servers" gui. I can see the Samba machine but cannot access it. My Windows 10 machines can still access the shares but not Centos 7. In fact, one of my Windows 10 machines is running as a virtual machine on Centos 7. The Centos 7 only has the Samba client software installed and I can do the following from my Centos 7: "nmblookup samba_machine" and I get the correct response. "smbclient -L samba_machine" and I see all the shares. I did stop the firewall on both machines without success. Any clues?
Kenneth Porter
2016-Dec-18 22:47 UTC
[CentOS] Cannot access Samba shares after latest update
On 12/18/2016 8:50 AM, Ed Gurski wrote:> My Windows 10 machines can still access the shares but not Centos 7. In > fact, one of my Windows 10 machines is running as a virtual machine on > Centos 7. > > The Centos 7 only has the Samba client software installed and I can do > the following from my Centos 7: > > "nmblookup samba_machine" and I get the correct response. > "smbclient -L samba_machine" and I see all the shares.No solution, but to be clear: The nmblookup userland utility can access the remote shares, but the kernel cifs filesystem can't. So something's wrong in the mount system. Are there any messages in /var/log/messages when you mount/umount that mount point? Or in any other log file? When I'm not sure where a subsystem logs, I use "ls -lt /var/log | head" to sort by date right after I stimulate the error, and the relevant files should be near the top of the list.