Skip to main content
NetApp Knowledge Base

Impact of setting CIFS option -restrict-anonymous to no-access

Views:
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • CIFS

Answer

  • Setting vserver cifs options modify -restrict-anonymous no-access effectively disables SMB  Null Sessions  (anonymous logons).
  • Normal authenticated access (Kerberos/NTLMv2) by domain-joined clients and apps is unaffected.
  • Impact is typically limited to tools or workflows that depend on anonymous enumeration or anonymous IPC$ connections, such as:
    • Asset/vulnerability scanners or monitoring tools that use anonymous SMB to list shares or query SAMR/LSA will fail (e.g., smbclient -L //server -N or net view \server without creds).
    • Workgroup or non-domain machines that relied on viewing shares without credentials will be denied and must provide credentials.
    • Very old apps/clients that depend on legacy anonymous/SMB1 behaviors may break. If SMB1 is already disabled, this risk is even lower.

 

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.