在Windows 7身份validation头痛的NFS上安装

我有一个Netapp和笔记本电脑上运行的Windows 7企业需要挂载卷的NFS共享。 我已经在Windows 7上安装了所有NFS服务,并能够安装和浏览驱动器。 问题是我没有权限修改卷上的文件。

谷歌search,我想这是因为我需要映射我的Windows用户到一个Unix用户,但所有search用户名映射服务表明,这是我不能在Windows 7笔记本电脑上做的事情。

有谁知道我必须做什么来让这台笔记本电脑访问该NFS共享? 那么其他的Windows笔记本电脑呢?

首先,您需要查看导出的卷/ qtree的Qtree安全性样式。 这将是NTFS / Unix / Mixed。

如果仅用于Windows主机,则将其设置为NTFS,如果将此特定导出安装在* nix主机上,并且希望nix处理所有权限,请将其设置为Unix。 一般应避免混合。

至于映射用户,通过修改文件pipe理器上的/etc/usermap.cfg文件来完成。 您可以用各种方式编辑它,最简单(但最不安全)的方法是从NetApp命令行执行“wrfile /etc/usermap.cfg”。 推荐的方法是使用合适的编辑器通过CIFS或NFS挂载内部“etc $”共享来编辑文件。

有关用户映射文件格式的文档可以在需要login的NetApp NOW网站上find。

这是一个非常小的文档片段,可能会让你感动:

# # These are some sample "defensive" entries you may wish to use. # They can be uncommented and placed as needed. See the System # Administrator's Guide for a full description of this file. # # *\root => nobody # Map all NT users named "root" to have no # # UNIX perms. They can still log in though. # # guest <= administrator # Map UNIX user "administrator" to NT guest. # guest <= root # Map UNIX root user to guest. This should be # # placed after any real "root" mappings. # # The next two mappings can be used to defeat the default mapping of # the user names. That way only entries that are mapped previously in # this file will be allowed. # # *\* => "" # Map all other NT requests to fail. # "" <= * # Map all other UNIX requests to fail. # # The pound sign "#" is used as a comment character in map entries. The # next three mappings show how to handle an NT user name which includes # a pound sign. The name must be quoted. If the user account contains # both domain and name, the username must be quoted separately. # # "#jdoe" => joed # Map NT user #jdoe to UNIX user joed. # NTDOM\"#jdoe" <= joed # Map UNIX user joed to NT user NTDOM\#jdoe. # "nt-domain\#jdoe" <= joed # BAD, won't work. # 

基本上,你将采用你的Windows用户的名字,并使用像这样的映射到一个有效的Unix用户:

 domain\user => unixUser 

你也可以使用通配符。