跳转到主内容

如何创建和了解Vserver名称映射规则

Views:
132
Visibility:
Public
Votes:
0
Category:
clustered-data-ontap-8
Specialty:
nas
Last Updated:

适用场景

ONTAP 9

问题描述

本文介绍操作步骤如何在 ONTAP 9 中创建和了解 SVM 名称映射规则。

ONTAP 9可通过通用互联网文件系统协议(Common Internet File System、CIFS)和网络文件系统(Network File System、NFS)进行访问。 

名称映射用于将 CIFS 用户映射到 UNIX 用户,反之亦然。

注意: 除对 UNIX 安全模式卷的 NFS 访问外,所有 CIFS/NFS 访问都需要名称映射

  • 例如,在 CIFS 环境中,它称为 NetApp\jdoe ,但在 NFS ( NIS )中,它只是 jdoe
  • 名称映射是指登录期间由身份验证系统解释的规则(实际上是正则表达式),用于解析您的身份并收集访问文件所需的凭据
  • 名称映射是确保登录人员可以访问其文件的第一步,无论他们使用哪种协议访问文件服务器

注意: CIFS 和 NIS 用户名的相似性;许多购买 NetApp 产品的组织都使用类似此类命名约定

  • 否则,他们可以使用一个非常简单的正则表达式,该表达式会删除 CIFS 域名,而分隔则仅保留用户名
  • 在其他情况下,如果用户名之间的对应关系不是直接的,则可能需要为每个用户输入一个映射
  • 名称映射规则语法具有一些额外功能,可用于在问题描述的情况下调整用户名大小写
  • 名称映射规则使用正则表达式与源用户名匹配,并将匹配的表达式替换为目标
  • 源和目标指定为映射方向: Windows - UNIX , UNIX - Windows 或 curb - UNIX

注意: 只有在使用 Kerberos NFS UNIX 客户端时,才需要 Kerberos 映射。大多数 UNIX 客户机不采用 Kerberos )。

 

 

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.