Impact of setting CIFS option -restrict-anonymous to no-access
Applies to
- ONTAP 9
- CIFS
Answer
- Setting
vserver cifs options modify -restrict-anonymous no-accesseffectively 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.
