Hello.
On st?eda 14. ?ervence 2021 14:37:24 CEST Rowland Penny via samba
wrote:> On Wed, 2021-07-14 at 14:23 +0200, Oleksandr Natalenko via samba wrote:
> > On st?eda 14. ?ervence 2021 14:04:28 CEST L.P.H. van Belle via samba
> >
> > wrote:
> > > Have you followed this :
> > >
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server
> > >
> > > Basicly its, guest access is denied on SMB2
> > > Adjust the smb.conf as shown in the link.
> > > And test again.
> >
> > OK, thanks for the pointer. I understand what's going on now after
> > seeing the
> > "guest access is denied on SMB2" phrase.
>
> No, guest access isn't denied on SMB2, but Windows 10 now refuses to
> allow guest access by default.
Windows 10 is not really involved in this scheme.
> From the log fragment posted it looks like the android client isn't
> sending the proper data: 'Bad SMB2 signature for message'
Yes, probably. But as the x-plore devs didn't respond to this concern, I
started to look for other options.
> > I've adjusted the config, and now X-plore connects just fine. The
> > config looks
> > like this now:
> >
> > ```
> > [global]
> >
> > disable spoolss = Yes
> > domain master = No
> > load printers = No
> > name resolve order = host
> > printcap name = /dev/null
> > server string = Samba Server %v
> > show add printer wizard = No
> > socket options = TCP_NODELAY SO_KEEPALIVE
> > idmap config * : backend = tdb
> > printing = bsd
> > valid users = __guest
>
> Where did the '__guest' user come from ?
From useradd+smbpasswd.
--
Oleksandr Natalenko (post-factum)