CasaOS icon indicating copy to clipboard operation
CasaOS copied to clipboard

[Bug] SMB connection to Apple Timecapsule

Open cenobitedk opened this issue 2 years ago • 4 comments

Describe the bug Connecting to a SMB drive on an Apple Time Capsule doesn't work. Error messages doesn't help; either getting "Parameters Error" or nothing.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Files'
  2. Click on plus sign next to 'Location'
  3. Select "network storage"
  4. Enter address, switch guest off, enter user and password
  5. Click "connect"

Expected behavior Either that the connection was established or that I got a useful error message.

Screenshots image

Desktop (please complete the following information):

  • OS: Mac
  • Browser: Chrome
  • Version: 112.0.5615.137

Logs

nothing relevant found in logs...

Additional context Shared drive on Time Capsule is password protected but not with a specific user. Mounting the drive through CLI and symlinking into /DATA/ works fine. This following guide helped me and maybe you can use it to improve the network storage dialog. https://www.davd.io/mount-time-capsule-smb-from-a-linux-host/

cenobitedk avatar May 10 '23 19:05 cenobitedk

Sorry for taking so long to reply, we are trying to find an Apple Timecapsule device to reproduce your issue and I will get back to you once we have results.

jerrykuku avatar Aug 23 '23 13:08 jerrykuku

No problem :) If you want to me to make some tests, then let me know 👍🏼

cenobitedk avatar Aug 23 '23 13:08 cenobitedk

Hello, I had the same problem, but in another CasaOS machine works flawless.

santiagolorenzo-uy avatar Apr 17 '24 22:04 santiagolorenzo-uy

I have a 2TB Time Capsule (which is an ancient time capsule of its own lol) to test with.

I’ve been doing a lot of research on this and had to jump through quite a few hoops to get a Time Capsule to mount in Ubuntu Server 22.04.4 LTS

it turns out the Time Capsule uses an ancient version of SMB (ie. SMBv1 protocol is 30 years old) and Ubuntu has depreciated its use because its deemed so insecure.

The workaround to get a Time Capsule to mount on Ubuntu 22.04.4 LTS is to install libfuse2 and use a no longer maintained (read: it has bugs) mount_afp utility in https://github.com/simonvetter/afpfs-ng

I use it daily to mount my Time Capsule and store my daily rotation backups.

I wouldn’t use it for anything else (ie if a backup doesn’t run at 4am it’s not the end of the world - I would never depend on it for “real time” access to my Time Capsule while I am at console)

this is my input to the dev team.

EDIT: just found this post documenting the dangers of SMBv1 - this is a bit of a wake up call and bumps up the priority of getting that NAS I keep pushing off…

udance4ever avatar Apr 26 '24 22:04 udance4ever