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: GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

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: How to use SMB 3.0 in QTS 4.2 | QNAP 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