win-unix name-mapping doesn't work as expected
Applies to
- ONTAP 9
- Name mapping(win-unix)
Issue
A Windows-to-UNIX name mapping rule is configured on an SVM in ONTAP System Manager (e.g., mapping Domain\user-name to unix-name):
ontap918::> name-mapping show (vserver name-mapping show)
Vserver: svm2_ontap918Direction: win-unixPosition Hostname IP Address/Mask-------- ---------------- ----------------1 - - Pattern: tse\test1 Replacement: apache
- But the user is still mapped to the default user pcuser during actual access. The custom rule does not take effect:
::*> diag secd name-mapping show -vserver svm2_ontap918 -node ontap918-01 -direction win-unix -name test1
ATTENTION: Mapping of Data ONTAP "admin" users to UNIX user "root" is enabled, but the following information does not reflect this mapping.
'test1' maps to 'pcuser'
