[PATCH] Update 'restrict anonymous' in smb.conf.5 manpage

Rowland Penny rpenny at samba.org
Wed Feb 6 16:08:28 UTC 2019

On Wed, 6 Feb 2019 16:50:46 +0100
"L.P.H. van Belle via samba-technical"
<samba-technical at lists.samba.org> wrote:

> Hai, 
> But this is not enough i think. 
> https://support.microsoft.com/en-ca/help/4046019/guest-access-in-smb2-disabled-by-default-in-windows-10-and-windows-ser 
> Guest access in SMB2 disabled by default in Windows 10, Windows
> Server 2016 version 1709, and Windows Server 2019 
> Maybe good to mention this also somewhere? It will recudes questions.
> Based on the above link, i can set, guest ok = yes, but still being
> denied access to the share by win10 if i'm correct. 

No, you are wrong, the Windows 'Guest' user has nothing to do with the
Unix guest user.

To gain guest access to a share, you typically need 'map to guest = Bad
User' set in [global] and 'guest ok = yes' set in the share. If an
unknown user then connects to the share, they will be allowed access as
the guest user, usually 'nobody'.


More information about the samba-technical mailing list