SMB Encryption in QTS 4.3?

,

Hi there!

Mandatory information:

  • Your Operating System you are using to access your NAS:
    Linux, Raspbian (win11 also for testing)

  • NAS model
    TS-412

  • Firmware Version/Build numbers - not just “The latest”
    4.3.3.2784 Build 20240619

  • Network Setup (ie Single Port or Port Trunking)
    Single port

I’m trying to set up a self-hosted solution with Nextcloud, where I use my QNAP NAS as the storage solution while running the actual Nextcloud instance on another server on my home network. However, when I try to mount a shared folder through my “other server” I get an error:

[ 2476.638505] CIFS: VFS: \\[Redacted server alias] IPC: server doesn't support encryption
[ 2476.638518] CIFS: VFS: session 00000000fe245e7d has no tcon available for a dfs referral request
[ 2476.638524] CIFS: VFS: Encryption is not supported on share
[ 2476.639192] CIFS: VFS: cifs_mount failed w/return code = -95

My setup is based on the nextcloud documentation here: https://github.com/nextcloud/all-in-one?tab=readme-ov-file#can-i-use-a-cifssmb-share-as-nextclouds-datadir

I’d rather keep the “seal” option as I’m guessing nextcloud requires it based on the docs (no issues when omitting it). So, naturally I figured I could enable encryption on my QNAP! However, the guide here: https://www.qnap.com/en/how-to/tutorial/article/how-to-use-smb-3-0-in-qts-4-2 seems to reference settings which simply are not available in my QTS build.

In summary: how do I enable SMB encryption for my version of QTS?

EDIT!

Fix: SSH into NAS, run

/etc/init.d/smb2_protocol.sh enable 3

My apologies for making this topic.

1 Like