Hi, I can access centos's samba via windows 7, but fail via windows 10. Why? Thanks! Regards Andrew
On Thu, 12 Sep 2019, qw wrote:> Hi, > > I can access centos's samba via windows 7, but fail via windows 10. Why?I'm pretty sure this is because the default Samba config doesn't enable SMB2. Make sure this is set in your smb.conf and I think you should be good: [global] max protocol = SMB2 jh
On 12/09/2019 11.09, qw wrote:> Hi, > > > I can access centos's samba via windows 7, but fail via windows 10. Why? > > > Thanks! > > > Regards > > > Andrew > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >Hi Andrew No problem here with: Centos: CentOS Linux release 7.6.1810 (Core) and Samba: samba-client-libs-4.8.3-6.el7_6.x86_64 samba-4.8.3-6.el7_6.x86_64 samba-common-4.8.3-6.el7_6.noarch samba-libs-4.8.3-6.el7_6.x86_64 samba-client-4.8.3-6.el7_6.x86_64 samba-common-libs-4.8.3-6.el7_6.x86_64 samba-common-tools-4.8.3-6.el7_6.x86_64 Windows 10: Windows 10 Home, Version 1903 suomi
I update centos's samba to 4.8.3-6. My windows 10 is professional, whose version is 1803. I still can't access samba. Do I need update my windows 10 to 1903? andrew At 2019-09-12 17:45:10, "anax" <anax at ayni.com> wrote:> > >On 12/09/2019 11.09, qw wrote: >> Hi, >> >> >> I can access centos's samba via windows 7, but fail via windows 10. Why? >> >> >> Thanks! >> >> >> Regards >> >> >> Andrew >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> https://lists.centos.org/mailman/listinfo/centos >> > >Hi Andrew > >No problem here with: > >Centos: > >CentOS Linux release 7.6.1810 (Core) > >and Samba: > >samba-client-libs-4.8.3-6.el7_6.x86_64 >samba-4.8.3-6.el7_6.x86_64 >samba-common-4.8.3-6.el7_6.noarch >samba-libs-4.8.3-6.el7_6.x86_64 >samba-client-4.8.3-6.el7_6.x86_64 >samba-common-libs-4.8.3-6.el7_6.x86_64 >samba-common-tools-4.8.3-6.el7_6.x86_64 > > >Windows 10: > >Windows 10 Home, Version 1903 > > >suomi >_______________________________________________ >CentOS mailing list >CentOS at centos.org >https://lists.centos.org/mailman/listinfo/centos
Michael Schumacher
2019-Sep-12 12:02 UTC
[CentOS] why windows 10 can't access centos samba
Thursday, September 12, 2019, 11:09:36 AM, you wrote: q> I can access centos's samba via windows 7, but fail via windows 10. Why? You might want to provide your /etc/samba/smb.conf so that we can take a look. There are so many ways to operate Samba that it is impossible to help without. best regards --- Michael
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of John > Hodrien > Sent: Thursday, September 12, 2019 5:42 AM > To: CentOS mailing list <centos at centos.org> > Subject: Re: [CentOS] why windows 10 can't access centos samba> > I can access centos's samba via windows 7, but fail via windows 10. > Why? > > I'm pretty sure this is because the default Samba config doesn't enable > SMB2. > > Make sure this is set in your smb.conf and I think you should be good: > > [global] > max protocol = SMB2That should probably be SMB3 (from smb.conf man file): ------------------------------------------------ SMB3: The same as SMB2. Used by Windows 8. SMB3 has sub protocols available. * SMB3_00: Windows 8 SMB3 version. (mostly the same as SMB2_24) * SMB3_02: Windows 8.1 SMB3 version. * SMB3_10: early Windows 10 technical preview SMB3 version. * SMB3_11: Windows 10 technical preview SMB3 version (maybe final). By default SMB3 selects the SMB3_11 variant. ------------------------------------------------- I don't have Win 10 here to test with.
On Thu, Sep 12, 2019 at 02:02:20PM +0200, Michael Schumacher wrote:> > Thursday, September 12, 2019, 11:09:36 AM, you wrote: > > q> I can access centos's samba via windows 7, but fail via windows 10. Why? > > You might want to provide your /etc/samba/smb.conf so that we can take > a look. There are so many ways to operate Samba that it is impossible > to help without.You should also ensure you're not suffering a selinux blockage. I've had that happen with Samba. Fred -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- The eyes of the Lord are everywhere, keeping watch on the wicked and the good. ----------------------------- Proverbs 15:3 (niv) -----------------------------
On Thu, 12 Sep 2019, qw wrote:> Hi, > > > I can access centos's samba via windows 7, but fail via windows 10. Why?Because you have something mis-configured. No one can tell without at least your smb.conf. Regards, -- Tom me at tdiehl.org
On Thu, 12 Sep 2019, John Hodrien wrote:> On Thu, 12 Sep 2019, qw wrote: > >> Hi, >> >> I can access centos's samba via windows 7, but fail via windows 10. Why? > > I'm pretty sure this is because the default Samba config doesn't enable SMB2. > > Make sure this is set in your smb.conf and I think you should be good: > > [global] > max protocol = SMB2Why? This is NOT necessary for win 10 to work. I do not even know if it will work with win 10 but for sure it is not necessary. You are actually suggesting going backwards.>From the smb.conf man page:Default: server max protocol = SMB3 By default SMB3 selects the SMB3_11 variant. SMB3_11: Windows 10 technical preview SMB3 version (maybe final). I have a half dozen or so samba file servers that have a combination of win7 and win10 versions running and none of the config files contain anything that changes the SMB version. I would suspect if you have to mess with the SMB protocols to get win 10 to talk, you are doing something else wrong. Regards, -- Tom me at tdiehl.org