Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 4 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.