Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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