FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 07-30-2010, 02:35 PM
Armin Fuerst
 
Default Bug#590959: idmapd only working in one direction

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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4C52E325.60107@beko.at">http://lists.debian.org/4C52E325.60107@beko.at
 
Old 03-20-2011, 05:56 PM
Luk Claes
 
Default Bug#590959: idmapd only working in one direction

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

Cheers

Luk



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4D864DDE.1090104@debian.org">http://lists.debian.org/4D864DDE.1090104@debian.org
 
Old 03-20-2011, 07:33 PM
Armin Fuerst
 
Default Bug#590959: idmapd only working in one direction

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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4D86648F.8010904@beko.at">http://lists.debian.org/4D86648F.8010904@beko.at
 

Thread Tools




All times are GMT. The time now is 02:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org