[CentOS] Centos 7 + samba / some win 10 systems can mount and some not

Fred Smith fredex at fcshome.stoneham.ma.us
Thu Nov 14 21:45:40 UTC 2019


On Thu, Nov 14, 2019 at 04:09:36PM +0100, Ralf Prengel wrote:
> Hallo,
> 
> We are using centos 7 and samba in combination with Win10 1903.
> The problem:
> Some systems are able to map a share and some can t.
> Any ideas and hints?

Yes. Verify that selinux is not blocking the incoming connection from
windows. I've had that problem in the past and it's a pain.

For testing purposes only, on the linux system(s) that reject windows
SMB connection attempts, issue "setenforce 0" and see if it then works.

If it does then work, reset that setting to "setenforce 1" (you don't want
to leave selinux disabled) then look in /var/logs to see if you can find
a log of the failure. If you can find the selinux record for the failure
it should tell you how to apply a work-around for that specific issue,
so you do not need to totally disable selinux.

this page may prove helpful: https://www.serverlab.ca/tutorials/linux/administration-linux/troubleshooting-selinux-centos-red-hat/

Good luck!

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
                         God made him who had no sin
                      to be sin for us, so that in him
                 we might become the righteousness of God."
--------------------------- Corinthians 5:21 ---------------------------------


More information about the CentOS mailing list