This is not an openSUSE problem, but I couldn’t find any decent help for this android client named AndSMB.
As most older mobile apps it is practically unsupported, with an outdated site, meager FAQ, etc:
http://www.lysesoft.com/products/andsmb/index.html
It supposedly supports SMB v2/v3, at least it can be configured for it, but I can only connect to oS server with SMB v1.
If I change the client config to v2/v3 the app fails with "cannot change directory to <share name>.
So when I block v1 in /etc/samba/smb.conf with:
[global]
workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = No
wins support = No
netbios name = bruno-0
wins server =
**min protocol = SMB2**
I can’t access anything.
Windows 10 can access these shares, using v3.11:
# smbstatus
Samba version 4.9.5-git.210.ab0549acb05lp151.2.9.1-SUSE-oS15.0-x86_64
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
15217 nobody nobody 192.168.1.4 (ipv4:192.168.1.4:50186) **SMB3_11** - -
Guest is enabled in smb.conf:
[Publico]
comment = All users
**guest ok = Yes**
inherit acls = Yes
path = /home/shares/Gravados/Publico
read only = No
veto files = /aquota.user/groups/shares/
Now, there is one change in the app configuration options when I switch protocols:
Using SMB v1 that works:
Version: SMB v1
Hostname: 192.168.1.1
Username: optional
Password: optional
Domain: optional
(anonymous checkbox is checked)
(local folder path)
(remote share)
With SMB v2/v3 that doesn’t work:
Version: SMB v2/v3
Hostname: 192.168.1.1
Username: optional
Password: optional
**Share:** (?)
Domain: optional
(anonymous checkbox is checked)
(local folder path)
(remote share)
I don’t know what this Share option refers to, as the server share name is given in the (remote share) entry.
I’ve tried repeating the share name, putting the workgroup name there, leave it blank, to no avail.
My feeling is the solution is simple, but I can’t begin to imagine what.
Thanks