如果Windows用户具有大写字符、则隐式Windows到UNIX名称映射将失败
适用场景
ONTAP 9
问题描述
在以下情况下、Windows到UNIX名称映射将失败:
- Windows和UNIX用户名包含大写字符
- 没有为win-unix方向定义显式名称映射规则。
如果在CIFS选项(例如pcuser)中定义了默认UNIX用户、则在运行diag secd authentication show-creds时、映射将显示为"pcuser"。如果CIFS选项中未定义默认UNIX用户、则可能会报告类似以下内容的错误:
Filer::*> diag secd authentication show-creds -node Filer-01 -vserver testsvm -win-name TestUser
Vserver: testsvm (internal ID: 11)
Error: Get user credentials procedure failed
[ 12] Retrieved CIFS credentials via S4U2Self for full Windows
user name 'TestUser@DOMAIN.LOCAL'
[ 12] Trying to map 'DOMAIN\TestUser' to UNIX user
'testuser' using implicit mapping <====================== Note that the user name has been converted to all lower case
[ 13] Entry for user-name: testuser not found in the current
source: FILES. Ignoring and trying next available source
[ 14] Using a cached connection to ldap.domain.local
**[ 15] FAILURE: User 'testuser' not found in UNIX authorization
** source LDAP.
[ 15] Entry for user-name: testuser not found in the current
source: LDAP. Entry for user-name: testuser not found in
any of the available sources
[ 16] Unable to map 'DOMAIN\TestUser'. No default UNIX user
defined.
[ 16] Name mapping for Windows user 'DOMAIN\TestUser' failed.
No mapping found
Error: command failed: Failed to get user credentials. Reason: "SecD Error: Name mapping does not exist".