I have a server with a zfs file system (nexenta core), and I'm sharing files overs nfs with zfs share share_nfs.

When I mount the file system on my client (a ubuntu workstation) I can't have the original UID/GID :(

I mount my client with the following options : 192.168.1.4:/home /media/testnfs nfs rw,dev,noexec,nosuid,auto,nouser,noatime,rsize=8192,wsize=8192 0 0

If I configure idmapd I have nobody:nogroup and without idmapd I have 4294967294:4294967294, how can I get the original ID's ?

Is it a problem with the nfs server or the client ?

Thanks for answers.

link|improve this question

80% accept rate
feedback

1 Answer

up vote 3 down vote accepted

NFSv4 doesn't use UID/GIDs anymore. There are quite a few significant differences between NFSv3 and v4; security is one of them.

link|improve this answer
Oki so maybe I can try to force use of nfs 3 to have original UID / GID. – profy Jan 17 '11 at 16:29
It's working with an update of /etc/default/nfs to force use of nfs v3 version thank you :) – profy Jan 17 '11 at 16:41
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.