Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread me

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 = SMB2


Why? 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 m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread me

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 m...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EXTERNAL: Re: why windows 10 can't access centos samba

2019-09-12 Thread Wells, Roger K. via CentOS
On 9/12/19 2:14 PM, Fred Smith wrote:
> 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.

when I ran into the same issue, adding the following lines to the global
section of "smb.conf" made things ok:
client min protocol = SMB2
client max protocol = SMB3

SMB version 1 should not be used in any case and MS deprecated its use
in W10 AIUI
HTH

> You should also ensure you're not suffering a selinux blockage. I've
> had that happen with Samba.
>
> Fred
>

-- 
Roger Wells, P.E.
leidos
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@leidos.com

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Opinions on using CR repository in production environments.

2019-09-12 Thread Gwaland
I was wondering what people's opinions are on running the CR repository on
production systems?  I'm currently predisposed to not do it since it
indicates it hasn't fully gone through QA yet.  But from my understanding
except for the alt-arch systems these are just recompiles of the redhat
RPMs after debranding right?

I'm Curious how other people are treating this repository since, from the
sounds of it, rpms are going to be in holding here between releases.

So would you treat it as a production repository or for testing only?  Do
we know how it's actually intended to be treated?

Any opinion is appreciated.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread Fred Smith
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 -- fre...@fcshome.stoneham.ma.us -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread Albert McCann
> -Original Message-
> From: CentOS [mailto:centos-boun...@centos.org] On Behalf Of John
> Hodrien
> Sent: Thursday, September 12, 2019 5:42 AM
> To: CentOS mailing list 
> 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 = SMB2

That 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.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread Michael Schumacher


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

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread John Hodrien

On Thu, 12 Sep 2019, anax wrote:


As far as I remember, samba worked already with the first Windows 10
installation I had years ago.


https://support.microsoft.com/en-gb/help/4034314/smbv1-is-not-installed-by-default-in-windows

"In Windows 10 Fall Creators Update and Windows Server, version 1709 (RS3) and later 
versions, the Server Message Block version 1 (SMBv1) network protocol is no longer 
installed by default. It was superseded by SMBv2 and later protocols starting in 2007. 
Microsoft publicly deprecated the SMBv1 protocol in 2014."

jh
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread rade...@grigorov.info

Hello, Anax

My shared drives were inaccessible after updating my windows 10 to the 
latest “Windows 10 Fall Creators Update”.


Within the latest “Windows 10 Fall Creators Update” the Guest access in 
SMB2 is disabled by default.


You can change this setting within your group policy settings.

Right click the Windows Icon at the bottom left of the task bar, or 
select the windows key + r


Within the run box, type “gpedit.msc”

Within the local Group Policy Editor, select “Administrative Templates”

Select “Network”

Select ”Lanman Workstation”

Double click “Enable Insecure guest logons” option

Tick the “Enable” option

Select OK

On 12.9.2019 г. 14:43, anax wrote:



Regards


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread anax




On 12/09/2019 12.46, qw wrote:



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"  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@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@centos.org
https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos




As far as I remember, samba worked already with the first Windows 10 
installation I had years ago.

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread qw



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"  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@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@centos.org
>https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread anax




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@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@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-12 Thread John Hodrien

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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] why windows 10 can't access centos samba

2019-09-12 Thread qw
Hi,


I can access centos's samba via windows 7, but fail via windows 10. Why?


Thanks!


Regards


Andrew
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ***UNCHECKED*** clamd / amavisd missing socket

2019-09-12 Thread Jon LaBadie
On Mon, Sep 09, 2019 at 10:22:21AM +0200, Laurent Wandrebeck wrote:
> Le vendredi 30 août 2019 à 13:57 -0400, Jon LaBadie a écrit :
> > I think something along these lines appeared before
> > but I was unable to find them.
> > 
> > I'm on a 7.6 system, been running clamav and amavisd-new
> > since 6 days with little problem.  On a recent reboot,
> > clamd@amavisd does not start up and fails manual start.
> > 
> > The problem seems to be the missing socket that connects
> > the pair, "/var/run/clamd.amavisd/clamd.socket".
> > 
> > I believe this should be created by systemd files but I
> > see no indication of them on my system.
> > 
> > Anyone know which files might be missing and where to
> > get copies?  Or a work around to run clamd@amavisd
> > and get rid of the "*** UNCHECKED ***' additions to my
> > my Subject lines?
> > 
> > BTW manual creation of the socket with netcat had no effect
> > on the startup.
> > 
> > Jon
> 
> Hi John,
> 
> I have the same problem, though /var/run/clamd.amavisd/clamd.sock do
> exists (please note .sock and not .socket).
> 
> Sep 09 08:19:37 minicloud2 amavis[9597]: (09597-02) (!)connect to 
> /var/run/clamd.amavisd/clamd.sock failed, attempt #1: Can't connect to a UNIX 
> socket /var/run/clamd.amavisd/clamd.sock: Connection refused
> 
> ll /var/run/clamd.amavisd/clamd.sock
> srw-rw-rw-. 1 amavis amavis 0 Jun 22 06:05 /var/run/clamd.amavisd/clamd.sock
> 
> Nothing denied in SELinux logs.
> 
> Don’t really know what the problem is for now, and have not yet found a
> way to fix it, sorry.
> -- 

Good to know I'm not alone with this problem.

Jon
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos