After connecting through a local network to an SMB share, which was created using TrueNAS Scale, on IOS or IPadOS a “Content Unavailable” error is displayed, no file can be seen, written, or read:
This error occurs on both TrueNAS Scale 25.04.0 and 24.10.2.1
Strangely, this doesn’t happen when using TrueNAS Core (ver. 13.0-U6.7). With Core, after the connection the share is accessable, with write/read/delete permissions functioning
This error is seen on both IOS 18.3.2 and IPadOS 18.4.1
In both cases I’m using a standard pool and SMB share configurations, with mirrored 500 GB of storage. In both cases an error doesn’t occur when connecting using Linux Mint 22.1 Cinnamon.
Seeing that this is a TrueNAS Scale problem, I would like to know how to fix it and make the share accessible on IOS.
Specific credentials.
In case of Scale the user has “ACL Type Allow”, “Permissions Modify”, “Flag Inherit” when editing the ACL for the share. During creation of the user “SMB User” is checked.
In case of of Core the users home directory is the share and the permissions are “read/write/execute” with “samba authentication” checked.
I should have read the documentation.
The issue of the inconsistent access to the share was caused by not having a SMB user during setup due to mindlessly following (bad) YouTube tutorials. As the documentation on Setting Up Data Sharing says:
TrueNAS must be joined to Active Directory or have at least one local SMB user before creating an SMB share. When creating an SMB user, ensure that Samba Authentication is enabled. You cannot access SMB shares using the root user, TrueNAS built-in user accounts, or those without Samba Authentication selected.