Web lists-archives.com

Re: [Samba] Windows Server 2019 / Windows 10 LTSC can't access samba shares on Debian stable 4.5.12




On Sat, 13 Oct 2018 16:14:44 +0200
Thomas Glanzmann <thomas@xxxxxxxxxxxx> wrote:

> Hello Rowland,
> 
> >         cache directory = /local/samba-config/common/cache
> >         lock directory = /local/samba-config/common/lock
> >         log file = /local/samba-config/common/log/%m
> >         pid directory = /local/samba-config/common/pid
> >         private dir = /local/samba-config/common/private
> >         state directory = /local/samba-config/common/state
> 
> > You will note that the 'ntp signed' line has been removed, this is
> > on purpose, it is only required on an AD DC.
> 
> thank you. That works, but there is one thing, I don't understand. In
> the past there was a nmbd and smbd process. It seems that now only
> nmbd is running, and if someone is connecting, smbd is spanned. Is
> that correct?

There are actually 4 Samba processes:
samba, only used on a DC and this starts any other required processes.
smbd, this is the cifs process
nmbd, the netbios browsing process
winbind, authentication process

The above is a rather simplistic view, but I hope you get the idea.

on a standalone server, you need the smbd process to be running and
optionally the nmbd process if you require network browsing.

> 
> Thanks to the feedback I have received by you and Andrew, samba is now
> running on an unused ethernet interface. Thank you. However I still
> can't access the windows share from the new windows versions, but I

Please define 'access', as in how are you trying.

> now tried it from the cmd prompt and got a good error message:
> 
> > C:\Users\Thomas>net use \\10.109.0.1\tmp
> > System error 1272 has occurred.
> 
> > You can't access this shared folder because your organization's
> > security policies block unauthenticated guest access. These
> > policies help protect your PC from unsafe or malicious devices on
> > the network.
> 
> The error code lead me to:
> 
> https://superuser.com/questions/1280365/can-not-connect-to-share-system-error-1272
> https://support.microsoft.com/en-us/help/4046019/guest-access-smb2-disabled-by-default-in-windows-10-server-2016
> https://getadmx.com/?Category=Windows_10_2016&Policy=Microsoft.Policies.LanmanWorkstation::Pol_EnableInsecureGuestLogons
> 
> The following command resolved my issue:
> 
> Set-ItemProperty -Path
> "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters"
> -Name "AllowInsecureGuestAuth" -Type DWord -Value 1
> 
> Afterwards it works. Also with the Debian Samba.

Yes, that is correct, Windows now as 'guest' turned off by default.

Rowland


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba