[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NFS user id

On Sat, Mar 05, 2011 at 07:38:04PM +0000, T o n g wrote:
> My /export NFS share is shared with option "rw,no_root_squash,async", 
> however, on the client side, files from both the root and me are mapped 
> as uid/gid of 4294967294/4294967294. 
> Both the root id and my id are the same on both client server. 
> What could be wrong?

Is this NFSv3 or v4?

If it's v3, nothing special happens; you should get the same UIDs
on the client as found on the server.

If it's v4, it does mapping between the user IDs on the client and
server using the "nfsidmap" daemon.  I've see the screwy ID issue
as above before.  Basically, you need to ensure that it's enabled
on both the client and server (edit /etc/default/nfsxxx) and that
the domain is the same between the two as well.



  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply to: