Understanding name-mapping in a multiprotocol environment
Applies to
- ONTAP 9
- NAS
Answer
- How does name-mapping work for NFS clients accessing UNIX security style resources?
- How does name-mapping work for NFS clients accessing UNIX security style resources?
- How does name-mapping work for NFS clients accessing NTFS security style resources?
- How does name-mapping work when NFS clients are accessing an NTFS security style resource?
- How does name-mapping work for CIFS clients accessing UNIX security style resources?
- How does name-mapping work when CIFS clients access UNIX security style resources?
- How does name-mapping work for CIFS clients accessing NTFS security style resources?
- How does name-mapping work when CIFS clients access NTFS security style resources?
Additional Information
- How to create and understand vserver name-mapping rules
- The following is an example scenario:
- UID 1057 is sent to ONTAP by a client.
- ONTAP resolves UID 1057 to Unix user “bob”
- ONTAP checks the name mapping entries.
- If ONTAP finds a Unix to Windows name mapping entry for the pattern “bob” (say that it found “bob==DOMAIN\robert”) then the UID and the AD account are linked during the connection, so when the NFS connection is used by the UID 1057, File level access to NTFS security locations is determined based on the AD account that the that is linked.
- If ONTAP doesn’t find an entry in the name mapping table for pattern “bob” then it will assume that “bob==DOMAIN\bob” and check AD for an account named bob.
- If the account is found, then UID 1057 would be granted access based on the AD account “DOMAIN\bob”
- If there is no explicit name mapping found, and implicit name mapping fails as well, there is an option in the NFS Server settings for “default windows user” which would be a final attempt to link the UID that was resolved as bob to a fallback AD account, like “DOMAIN\guest”, however this setting is normally left blank since it is not required by ONTAP for NFS access.
- This process also happens when a CIFS/SMB connection is made, and access is attempted to a Unix security style location.
- The only difference is that there is a requirement for the CIFS Server option for “default unix user” be populated to a Unix account that ONTAP can lookup, either locally or in NIS/LDAP.
- This requirement is related to the fact that ONTAP runs on Unix and requires that all connections be based/tracked via a Unix UID, even if we don’t use the name mapped unix account to determine file level access.