Bug#590959: idmapd only working in one direction

2011-03-20 Thread Armin Fuerst
On 2011-03-20 19:56, Luk Claes wrote:
 I tried to set up nfsv4 between two lenny-installations where users have
 different UIDs.

 Server: User xyz has UID 1000
 Client: User xyz has UID 501
 
 What did you believe that when user xyz writes to the mounted directory
 it would not end up as belonging to UID 501 on the server?

I expect the server to convert it to UID 1000. In consequence during the
next access it would be remapped to UID 501 on the server.
What else is the concept of idmapd?

Cheers,

Armin

Email secured by Check Point



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d86648f.8010...@beko.at



Bug#590959: idmapd only working in one direction

2010-07-30 Thread Armin Fuerst
Package: nfs-common
Version: 1:1.1.2-6lenny2

I tried to set up nfsv4 between two lenny-installations where users have
different UIDs.

Server: User xyz has UID 1000
Client: User xyz has UID 501

/etc/exports (server) contains:

/exports  with options: rw,fsid=0,insecure,no_subtree_check,sync
/exports/home  with optione: rw,nohide,insecure,no_subtree_check,sync


/etc/default/nfs-common (server+client)
NEED_STATD=no
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=

/etc/idmapd.conf is identical on server+client

mount server:/home /mnt/ -t nfs4

ls -l /mnt translates user and group properly.
touch /mnt/xxx creates a file with UID 501 on the server / should be
UID 1000




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c52e325.60...@beko.at