INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Linux => Topic started by: hillcreative on November 23, 2017, 07:06:47 pm

Title: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
Post by: hillcreative on November 23, 2017, 07:06:47 pm
Strangely the latest Ubuntu update to 17.10 causes my automount fstab entry to fail with a permission error.
Code: [Select]
//hillwrk/f /home/mitchell/Media cifs noauto,x-systemd.automount,uid=mitchell,credentials=/home/mitchell/samba-credentials  0  0Only this modified line works in Ubuntu 17.10 to allow automount of my Windows share on Linux
Code: [Select]
//hillwrk/f /home/mitchell/Media cifs username=yourusername,password=yourpassword,uid=mitchell,gid=mitchell,iocharset=utf8,sec=ntlm,vers=1.0 0 0Only problem now: clicking on a playlist item causes MC to freeze for a few minutes. Otherwise it plays fine.

I'd like to find a solution before slushing back to 16.4
Title: Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
Post by: hillcreative on November 24, 2017, 08:57:44 am
The pause/hang when clicking on a play list item has gone away. Perhaps some kind of indexing of new imported files going on in the background?
Title: Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
Post by: mwillems on November 25, 2017, 09:59:26 am
There have been changes to the SMB server in linux recently: older Samba protocol versions have been deprecated.  If there's a modern samba version on both ends, it will auto-negotiate like it used to do, but if there's a version mismatch between the Samba versions (i.e. one is older and still prefers the insecure versions of the protocol) you need to specify the Samba protocol version. It looks like you figured it out, but if your server supports a higher version of the protocol (like 3.0), you should try to use that instead as the 1.0 version of the protocol is not particularly secure.
Title: Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
Post by: Awesome Donkey on November 25, 2017, 10:13:18 am
Yeah, I'd also disable SMB 1.0 in Windows (https://redmondmag.com/articles/2017/09/05/how-to-disable-smb-1.aspx) too if you're using it.
Title: Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
Post by: hillcreative on November 25, 2017, 10:50:57 am
Now I need to figure out how to update my Windows 10 machine... so far I can only find ways to disable it!
Title: Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
Post by: hillcreative on November 26, 2017, 09:42:29 am
Yeah, I'd also disable SMB 1.0 in Windows (https://redmondmag.com/articles/2017/09/05/how-to-disable-smb-1.aspx) too if you're using it.
Awesome Donkey... when I disable SMB 1.0 on Windows it kills the SMB on Ubuntu 17.10
Title: Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
Post by: Awesome Donkey on November 26, 2017, 10:26:23 am
Like mwillems said, if you can try switching to a higher SMB protocol (e.g. 3.0).

SMB 1.0 is insecure and I would NOT recommend using it. At all.