CasaOS
CasaOS copied to clipboard
[Bug] SMB connection to Apple Timecapsule
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:
- Go to 'Files'
- Click on plus sign next to 'Location'
- Select "network storage"
- Enter address, switch guest off, enter user and password
- Click "connect"
Expected behavior Either that the connection was established or that I got a useful error message.
Screenshots
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/
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.
No problem :) If you want to me to make some tests, then let me know 👍🏼
Hello, I had the same problem, but in another CasaOS machine works flawless.
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…