Hi MrSpectacular,
WARNING: Process directory 'smb://HJALMAR/Film/American Pie/American Pie - The Wedding (2003)/' does not exist - skipping scan
Try using ip, instead of dns name,
@alexisuceta I’d already seen your logs, I suggest you use sam’s suggestion:
nano /home/osmc/.smb/smb.conf
or
cp /home/osmc/.kodi/.smb/smb.conf` /home/osmc/.smb/smb.conf`
nano /home/osmc/.smb/smb.conf
and add:
client ntlmv2 auth = no
Thanks Tom.
Hi Tom, I did the change like you said but still have the same issue, I can’t access the folders of the NAS.
/home/osmc/.smb
-rw-r–r-- 1 osmc osmc 310 Aug 31 19:38 smb.conf_BK_31082017
-rw-r–r-- 1 osmc osmc 217 Aug 31 20:16 smb.conf
[global]
lock directory = /home/osmc/.kodi/.smb/
client max protocol = SMB3
name resolve order = bcast host
include = /home/osmc/.kodi/.smb/user.conf
client ntlmv2 auth = no
Regards.
Hi Tom.
I tried to add video source by entering the ip instead of browsing, but it is just the same. Keeps asking for password.
Hi alexisuceta,
try adding:
client use spnego = no
And then restart kodi?
@MrSpectacular
Are they password protected shares?
Thanks Tom.
Hi again Tom.
No. The only password is for the router login.
Hi,
If you you change the maxium protoocal version to SMBv1, under Settings, Services, SMB client (Settings Level Advanced); are you able to access you shares then?
Thanks Tom.
Tried all four settings whit no change.
I have a third RPi3 that I haven’t updated and it works just fine…
Hi,
What are your Network Place (Samba) Share / Cloud Disk settings on your asus router?
Thanks Tom.
I´ve tried both enable and disable guest login.
Hi,
I’m not using the stock asus firmware (i’m using merlin), but I’m guessing the stock firmware still uses smbv1
Try this:
nano ~/.kodi/.smb/smb.conf
change max protocal to SMB2 and add this line:
client min protocol = SMB1
sudo systemctl restart mediacenter
These changes are not persistent after reboots of the pi, but this can be fixed if suggested changes work.
Thanks Tom.
Good Morning Tom, I did the change but still have the same issue.
Note: When I add the 2 lines in the file /home/osmc/.kodi/.smb/smb.conf I can access the folders in the NAS Servers but when I restart Kodi the information is overwritten again.
Regards.
/home/osmc/.smb
[global]
lock directory = /home/osmc/.kodi/.smb/
client max protocol = SMB3
name resolve order = bcast host
include = /home/osmc/.kodi/.smb/user.conf
client use spnego = no
client ntlmv2 auth = no
When I go nano ~/.kodi/.smb/smb.conf, this is what I see:
[global]
lock directory = /home/osmc/.kodi/.smb/
name resolve order = bcast host
include = /home/osmc/.kodi/.smb/user.conf
Do I just add client max protocol = SMB2 at the end?
Good Morning, when I turn on “Allow guest login” I can access the folders but before the update I was always using user/password for 2 years to access the folders for security reasons.
Regards.
Hi @alexisuceta,
On further investigation, I can’t get kodi to honour the smb settings in /home/osmc/.smb/. I know this works, but probably isn’t recommend; so please only try this at your own risk etc…
add client use spnego = no and client ntlmv2 auth = no, to ~/.kodi/.smb/smb.conf and the issue this command.
sudo chown -R root:root ~/.kodi/.smb/smb.conf
I found kodi can still access the shares, but is unable to modify on reboot or atany point. I also found with my pi, the smb.conf was being overwritten every time I tried to access the shares. Once I ran the chown its no longer being updated by kodi.
See post 43
@MrSpectacular
Sorry a copy and paste error, please add the following:
client min protocol = SMB1
client max protocol = SMB2
(Will update my post)
Thanks Tom.
Use /home/osmc/.kodi/.smb/user.conf
instead
Hi Tom, so basically you don’t recommend to apply the settings and run the command? Is it possible to fix the issue in a next update? Thanks.
Regards.
We’d have to work out what the issue actually is first.
My situatiation is quite similar.
I have a Windows 7 computer and a NAS.
Besides I have a couple of RPI (a 2 wired and a 3 version wireless connected) both with OSMC installed.
From the RPI3 there no problem to connect to both file servers.
From the RP2 It can’t find either servers. But it can be accesed the other way around from the W7 computer with ssh terminal and https Kodi platform.
any ideas?
RPI2 log in: https://paste.osmc.tv/afocucodaz
thanks
Hi,
No please ignore what I posted earlier, and do as fzinken suggested:
cp ~/.kodi/.smb/smb.conf ~/.kodi/.smb/user.conf
and add client use spnego = no and client ntlmv2 auth = no, to ~/.kodi/.smb/user.conf. Restart the pi and the shares should now be working.
@fzinken thanks.
Regards Tom.
Did you upgraded both the Pi2 and Pi3 to the latest version?