Giovanni Tirloni wrote:
On Tue, Apr 20, 2010 at 3:32 PM, Matt <[email protected]> wrote:
I'm trying to set up NFS shares to a Windows 2008 R2 box and am having
problems.
I can get the NFS share set up, but the windows box can only get read-only
access to the NFS share. It will not allow R/W access, even though
according to the share information, everything in my subnet should have R/W
access.
Am I doing something wrong? I have not set up any authentication protocols
for this, and wonder if that is where I'm failing at. Where would I add
users to the OpenSolaris system so that it knows to allow my Win2k8 system
access?
Currently my configuration looks like this :
mun...@zfs_head_end:/etc# zfs set sharenfs=on tank/nfstest2
mun...@zfs_head_end:/etc# share
-...@tank/nfstest /tank/nfstest sec=sys,[email protected]/24 ""
-...@tank/nfstest /tank/nfstest2 rw ""
I don't know exactly how Win2k8 manages the NFS share, but you could try
specifying anon=0 so it maps to the owner of the mount point.
zfs set sharenfs="anon=0,[email protected]/24,[email protected]/24" tank/nfstest2
Please be careful here, using anon=0 effectively states that the root
account from all
machines will be granted root access.
And it only maps to the owner of the mount point if the owner is root.
If it is
any other user, then the mapping does not happen.
_______________________________________________
nfs-discuss mailing list
[email protected]