【发布时间】:2015-10-15 14:42:05
【问题描述】:
我正在尝试将 Ubuntu 12.04 机器标识映射到 Windows 2012 R2 机器上的 NFS 共享。
我有数量有限的 Ubuntu 机器,都使用同一个用户。
如果我在下面创建passwd 和group 文件,我可以标识映射:
System32/drivers/etc
我使用passwd 这样做如下:
localhost\user:x:1000:1000
组:
localhost\UNIXuser:x:1:user
在 Windows 机器上,我创建了 UNIXuser 组,用户是其成员。
Windows 事件查看器 (ServicesForNFS-Server\IdentitiyMapping) 说:
A syntax error was found on line 1 when loading C:\Windows\System32\drivers\etc\passwd. The file will not be used as a mapping source.
C:\Windows\System32\drivers\etc\group will be used as a mapping source.
【问题讨论】:
标签: linux windows server identity passwd