You can control whether anonymous CIFS users can look up CIFS shares, users, or groups on a storage system.
|If you...||Enter the following command...|
|Do not want to set access restrictions for anonymous share lookups||
options cifs.restrict_anonymous 0
|Do not want to allow enumeration of users and shares||
options cifs.restrict_anonymous 1
|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.