Something happened with my RPi recently – I don’t know exactly when it happened – where I couldn’t access my SMB shares. I had a look here and saw references to such problems for the Vero, but didn’t see anything that matched my issue with the RPi. I tried a solution posted in the Vero section that worked for me, so I thought I’d report it here.
I navigated to Settings>Services>SMB Client and noticed that Minimum protocol version was set to none and maximum set to SMBv1. I changed the maximum to SMBv3 and that solved my problem. I can now access all my SMB shares.
Did something get changed in a recent update that caused this problem for me? I’m just curious at this point.
I’ve quite sure I didn’t make any changes to the SMB version myself. My server is a Windows 10 desktop, and I’ll bet dollars to doughnuts that something about SMB changed in a recent Windows 10 update. I’ll dig around to confirm that, but the good news is I’m working just fine.
It turns out the powershell commands given in the referenced article won’t run on my desktop, they only run under Windows Server, not Windows 10. I tried to figure out how to enable them in Windows 10, but, after looking for 30 minutes, decided to abandon the search.
I’ll just assume SMBv1 was disabled on my computer during a recent Windows 10 update.
Just tried the powershell commands on my windows 10 vm and it does look like the docs provided my microsoft could do with an update. Anyway you should be able to check/re-enable smb1 via Turn Windows features on and off:
I checked the link you provided and navigated to the “turn Windows features on or off” option in “Programs and Features” in “Control Panel”.
Yep. SMB1 had been disabled (it wasn’t checked). I left it disabled, since I can access my files now, having reset my OSMC options to use SMBv2 or SMBv3.
I was able to access all my files a couple months ago, so SMBv1 was enabled then. (I don’t remember the last time I had accessed these files.) So, some Windows update in the past 2-3 months ended up disabling SMBv1.
Hi, I’m crazy here trying to access osmc samba folders (external HDD). It must be a windows thing, because I can connect to the samba folder using android and a mac. Had try the following:
Activate SMB1 on windows 10
Enable insecure guest logons
On osmc, minimum protocol NONE, maximum SMBv3
Using the same workgroup (default) and I cant see the server on network folder, when i try to connect mapping the folder always the same error
This is the smb.conf
# If you require a fully custom smb.conf create smb-local.conf instead of editing smb.conf so your
# configuration will not be overwritten by samba upgrades. You can use smb.conf as a template by
# copying it to smb-local.conf then removing the config file line below in the new file. If you only
# need to add some additional shares see smb-shares.conf below for a simpler way to do this.
config file = /etc/samba/smb-local.conf
workgroup = WORKGROUP
follow symlinks = yes
wide links = no
unix extensions = no
lock directory = /var/cache/samba
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log level = 1
map to guest = bad user
# usershare template share = automount template
write raw = Yes
strict locking = no
min receivefile size = 16384
use sendfile = true
aio read size = 2048
aio write size = 2048
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
browsable = yes
read only = no
valid users = osmc
path = /home/osmc
comment = OSMC Home Directory
browseable = yes
-valid = no
valid users = osmc
path = %P
hide files = /$RECYCLE.BIN/System Volume Information/desktop.ini/thumbs.db/
# Add custom shares in smb-shares.conf instead of editing smb.conf so they will not be
# overwritten by samba updates. You can only add new shares to smb-shares.conf, not change
# the default shares or global options. If you need full control see smb-local.conf above.
include = /etc/samba/smb-shares.conf
Sadly I realized that after a log out or reboot the same problem appear when I try to open the disk. To make it work again I have to disconnect the disk and use net use \\192.168.1.12\osmc /user:osmc Any advice to fix this?
If I keep trying to open the disk sometimes the error is different
i just use “\\vero4k\My book”, or to the other drive “\\vero4k\disken” in explorers adressfield( without th “”), Vero4k can be replaced with you ip-number, but since I got great nameresolution in my local network I don’t bother with local ip’s.