Networking Forums

Networking Forums > Computer Networking > Linux Networking > ACL's with NFSv4

Reply
Thread Tools Display Modes

ACL's with NFSv4

 
 
Joni
Guest
Posts: n/a

 
      12-23-2005, 02:05 PM
Hi all!

The situation is as follows: I have a machine with an ext3 partition
with POSIX ACL's. Now I would like to export this partition to another
machine as such that the homedirs on the source machine are available on
the target machine including ACL's. When I try to do this through NFS
then the ACL's are not available on target machine, and this causes the
owner/group perms to be incorrect.

NFSv4 apparently does support ACL's (altough they are similar to win NT
ACL's, but according to the docs POSIX ACL's should be mappable to NFSv4
ACL's), but I don't seem to be able to get this to work.

Both source and target machines use the same LDAP user backend, so I
would think there is no real need for id-mapping. On the source (server)
machine the /etc/exports looks as below:

/home 192.168.0.1(rw,sync,no_root_squash,fsid=0,insecure ,no_subtree_check)

and this is in the /etc/fstab file on the target (client):

192.168.0.10:/ /home nfs4
rw,hard,intr,proto=tcp,port=2049,noauto 0 0

The problem is that when I mount the homedirs on the target machine, all
directories have owner/group ownership by nfsnobody (uid=65534). Idmapd
runs on both machines and the config is as below:

$ cat /etc/idmapd.conf
[General]

Verbosity = 0
Pipefs-Directory = /var/lib/nfs/rpc_pipefs
Domain = localdomain

[Mapping]

Nobody-User = nobody
Nobody-Group = nobody

[Translation]
Method = nsswitch

What am I doing wrong?

Thanks!
Jonathan
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFSv4 + IPv6 on Linux Ashish Shukla आशीष शुक्ल Linux Networking 0 05-23-2008 09:48 AM
Disabling NFSv4 on the server? Dan Stromberg Linux Networking 2 05-30-2006 05:30 PM



1 2 3 4 5 6 7 8 9 10 11