[Samba] SMB2 and X-plore
oleksandr at natalenko.name
Wed Jul 14 13:07:06 UTC 2021
On středa 14. července 2021 15:03:36 CEST Rowland Penny via samba wrote:
> On Wed, 2021-07-14 at 14:51 +0200, Oleksandr Natalenko via samba wrote:
> > Windows 10 is not really involved in this scheme.
> Never said it was, just pointing out that Win10 no longer allows the
> use of a guest share unless you modify the registry, but Samba still
> allows guest access, just not from an unmodified win10 machine.
OK, probably, this info will be useful for me in future.
> > > 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 suggest that if the people that wrote your app cannot (or will not)
> help, then you should find an app that works.
I wish it worked that way.
> > > > 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.
> Thought so. Even though your user has 'guest' as part of its name, it
> isn't a guest user, it is just a Samba user and you are now using
> password authentication.
I know, and it's on purpose. I could name it "qwerty" ¯\_(ツ)_/¯ instead.
Oleksandr Natalenko (post-factum)
More information about the samba