跳转到主内容

由于 Ubuntu 用户和用户主目录之间的权限不匹配,无法在 Ubuntu 上挂载用户主目录

Views:
9
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用于

ONTAP 9

问题描述

  • 通过 Ubuntu 客户端上的 NFS 访问主目录时,尝试执行文件会遇到权限被拒绝错误。
  • 当 UNIX 用户的 LDAP "uid" 与 AD "UPN" 匹配但与 AD "sAMAccountName" 不匹配时,会出现此问题。
  • ONTAP 无法将 UNIX 用户映射到相应的 Windows 帐户,导致缺少执行权限和访问失败。
  • 日志输出:

[11] Could not find Windows name 'XXX\\XXXX'
**[11] FAILURE: Name mapping for UNIX user 'XXX' failed. Explicit Mapping failed and no default mapping found
Error: command failed: Failed to get user credentials. Reason: "SecDError: The mapped user does not exist and no default user is defined".
From file-directory show:
SecurityStyle: ntfs
EffectiveStyle: unix
UNIXModeBits: 664
UNIXModeBitsinText: rw-rw-r--
ACLs: -
Attempting to execute file:
bash: ./a.out: Permission denied

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.