Skip to main content
NetApp Knowledge Base

Is it possible to enable encryption for one CIFS particular share

Views:
449
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
NAS
Last Updated:

Applies to

  • ONTAP 9
  • CIFS
  • AES Encryption

Answer

Yes, we can enable encryption for a particular share with the help of below steps.

  • Step1: Run following command to enable encryption for the desired share.
cluster1::> vserver cifs share properties add -vserver <VSERVERNAME> -share-name <SHARENAME> -share-properties encrypt-data
  • Step2: Have the users disconnect and reconnect to the shares manually in order to apply the changes.
Please note that the encryption won't be in effect unless the client reconnect to the shares as the existing sessions are unencrypted.
  • Step3: Run the below command to confirm that encryption is working for all CIFS sessions.
Cluster01::> vserver cifs session show -vserver <VSERVERNAME> -fields smb-encryption-status
 
NOTE: SMB encryption is supported with SMB3 and above

Additional Information

vserver cifs share properties add

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.