You can control whether anonymous CIFS users can look up CIFS shares, users, or groups on a storage system.
Steps
-
Access the storage system command line through the console or through a Telnet session.
- Do one of the following:
If ... |
Enter the following command ... |
You do not want to set access restrictions for anonymous share lookups |
options cifs.restrict_anonymous 0 |
You do not want to allow enumeration of users and shares |
options cifs.restrict_anonymous 1 |
You want to fully restrict anonymous share lookups |
options cifs.restrict_anonymous 2 |
The default value for the cifs.restrict_anonymous option is 0. The restrictions do not apply to mapped null users. For more information, see the na_options(1) man page.