Skip to main content
NetApp Knowledge Base

How to create and understand vserver name-mapping rules

Views:
9,399
Visibility:
Public
Votes:
4
Category:
clustered-data-ontap-8
Specialty:
nas
Last Updated:

Applies to

ONTAP 9

Description

This article describes the procedure on how to create and understand SVM name-mapping rules in ONTAP 9.

ONTAP 9 can be accessed by Common Internet File System protocol (CIFS) and Network File System (NFS). 

Name-mapping is used to map CIFS users to UNIX users and vice versa

Note: Name mapping is required for all CIFS/NFS access except for NFS access to UNIX security style volumes

  • In the CIFS world, for example, it is known as NETAPP\jdoe, but in NFS (NIS) it is just jdoe
  • Name-mappings are rules (actually, regular expressions), which are interpreted by the authentication system during login to resolve your identity and gather the credentials you need to access your files
  • Name-mapping is the first step in the process of ensuring that the person logging in can get to their files, regardless of which protocol they use to access the file server

Note: the similarity of the CIFS and NIS usernames; many organizations that buy NetApp products use a naming convention such as this

  • If they do, they can use a very simple regular expression that just strips off the CIFS domain name, and the delimiting to leave just the username
  • In other cases, where the correspondence between user names is not direct, they may need to enter a mapping for each and every user
  • The name mapping rule syntax has extra features that can be used to adjust the case of user names, in case that is an issue
  • Name mapping rules use regular expressions to match the source user name, and substitute the matched expression for the destination
  • The source and destination are specified as the mapping direction: Either Windows - UNIX, UNIX - Windows, or Kerb - UNIX

Note: Kerberos mappings are only necessary if using a Kerberized NFS UNIX client. Most UNIX clients are not Kerberized

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.