How to grant access to null (anonymous) user and test configuration
Applies to
- ONTAP 9
- CIFS
Description
- This article describes the procedure on how to grant access to null (anonymous) CIFS users in Clustered Data ONTAP (null / anonymous user).
ONTAP 9 has the ability to configure access for null (anonymous) users by mapping the null user to a Windows User or Group limiting by IP Qualifier or Hostname - Prerequites
- You will need a Unix user to map "ANONYMOUS LOGON" due to ONTAP requiring all file operations must be done with a Unix user
- This can be any of the pre-defined Unix users (pcuser, nobody, or root). Root is not recommended
- You will need a Windows user for the CIFS option
win-name-for-null-user. This Windows user will be used to grant access to the files and directories in the share. - This Windows user must have access to the target share(s) that it is expected to access. This can be accomplished by
- Explicitly granting this user access via an ACE in the target share ACL
- Granting this user access using a Windows group and adding the Group ACE to the target share ACL
- Granting Everyone access via an ACE in the target share ACL. This access can be Full, Modify, or Read Only, depending upon need
- You will need to know either the IP address or the Machine name of the client machine that will be accessing a CIFS share. If there is more than 1 machine that needs this access, you can specify an IP address range in the name mapping command.
- You will need to verify that the CIFS Option
restrict-anonymousis set tono-restriction, which is the default.
