INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Auto Mount Windows Folder from Network fails with Ubuntu 17.10  (Read 2814 times)

hillcreative

  • World Citizen
  • ***
  • Posts: 124
Auto Mount Windows Folder from Network fails with Ubuntu 17.10
« 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
Logged

hillcreative

  • World Citizen
  • ***
  • Posts: 124
Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
« Reply #1 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?
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5234
  • "Linux Merit Badge" Recipient
Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
« Reply #2 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.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
« Reply #3 on: November 25, 2017, 10:13:18 am »

Yeah, I'd also disable SMB 1.0 in Windows too if you're using it.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

hillcreative

  • World Citizen
  • ***
  • Posts: 124
Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
« Reply #4 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!
Logged

hillcreative

  • World Citizen
  • ***
  • Posts: 124
Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
« Reply #5 on: November 26, 2017, 09:42:29 am »

Yeah, I'd also disable SMB 1.0 in Windows too if you're using it.
Awesome Donkey... when I disable SMB 1.0 on Windows it kills the SMB on Ubuntu 17.10
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Auto Mount Windows Folder from Network fails with Ubuntu 17.10
« Reply #6 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.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones
Pages: [1]   Go Up