我正在尝试将 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 机器上,我创建了 UNIX 用户组,用户是其成员。
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.