Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.

NetApp KCS Award

NetApp Knowledge Base

What is the difference between the deprecated options command cifs.restrict_anonymous.enable and cifs.restrict_anonymous?

Views:
144
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

Applies to

Data ONTAP 7 and earlier

Answer

The options cifs.restrict_anonymous.enable command states it is deprecated.

Both commands will change the cifs.restrict_anonymous option. The following helps understand how.

options cifs.restrict_anonymous.enable following messages are displayed:

<ON>
This option is deprecated; using options cifs.restrict_anonymous 1 instead.
Possible values for this option are
0. No special restrictions
1. Enumeration is restricted
2. Access is fully restricted

<OFF>
This option is deprecated; using options cifs.restrict_anonymous 0 instead.
Possible values for this option are
0. No special restrictions
1. Enumeration is restricted
2. Access is fully restricted

As a result of changing the options cifs.restrict_anonymous.enable directly, you will see the option did change:

<ON>
FILER>options cifs.restrict
cifs.restrict_anonymous 0
cifs.restrict_anonymous.enable off
FILER>
FILER>
FILER>options cifs.restrict_anonymous.enable on
This option is deprecated; using 'options cifs.restrict_anonymous 1' instead.
Possible values for this option are
0. No special restrictions
1. Enumeration is restricted
2. Access is fully restricted
FILER>
FILER>
FILER>options cifs.restrict
cifs.restrict_anonymous 1
cifs.restrict_anonymous.enable on
FILER>

<OFF>
FILER>options cifs.restrict
cifs.restrict_anonymous 1
cifs.restrict_anonymous.enable on
FILER>
FILER>
FILER>options cifs.restrict_anonymous.enable off
This option is deprecated; using 'options cifs.restrict_anonymous 0' instead.
Possible values for this option are
0. No special restrictions
1. Enumeration is restricted
2. Access is fully restricted
FILER>
FILER>
FILER>options cifs.restrict
cifs.restrict_anonymous 0
cifs.restrict_anonymous.enable off
FILER>

The only change of the option to 2 is to use the non deprecated options cifs.restrict_anonymous command.

Additional Information

N/A

 

Scan to view the article on your device