Re: Translate user names with NFS

2011-06-16 Thread Dan
On Thu, Jun 16, 2011 at 11:56 AM, Nicolas Bercher wrote: > On 15/06/2011 21:17, Dan wrote: >> >> Therefore I am just >> going to sync the names between the two machines. To do that I guess >> that I just need to change the file /etc/passwd and /etc/group Should >> I update the names somewhere else

Re: Translate user names with NFS

2011-06-16 Thread Nico Kadel-Garcia
On Thu, Jun 16, 2011 at 11:56 AM, Nicolas Bercher wrote: > On 15/06/2011 21:17, Dan wrote: >> >> Therefore I am just >> going to sync the names between the two machines. To do that I guess >> that I just need to change the file /etc/passwd and /etc/group Should >> I update the names somewhere else

Re: Translate user names with NFS

2011-06-16 Thread Nicolas Bercher
On 15/06/2011 21:17, Dan wrote: Therefore I am just going to sync the names between the two machines. To do that I guess that I just need to change the file /etc/passwd and /etc/group Should I update the names somewhere else? If you have data you want to keep under /home/*/ on your various machin

Re: Translate user names with NFS

2011-06-16 Thread Nicolas Bercher
On 15/06/2011 01:56, Dan wrote: In NFSv3 there should be an option map_static to map de UIDs and GIDs but for some reason it does not work. It seems that I have to use the package nfs-user-server to use that option, but it does not exist in squeeze http://www.spencerstirling.com/computergeek/NFS_

Re: Translate user names with NFS

2011-06-15 Thread Cam Hutchison
Dan writes: >If you have the same user (ex. pedro) with the same name but >different UID and GID NFS4 will do the conversion. Therefore I am just >going to sync the names between the two machines. To do that I guess >that I just need to change the file /etc/passwd and /etc/group Should >I update

Re: Translate user names with NFS

2011-06-15 Thread William Hopkins
On 06/15/11 at 03:17pm, Dan wrote: > Another nice thing about NFS4 is that it does everything in a single port > (2049), so it is easier to do a ssh tunnel. Easier in the sense of less typing? You can repeat the -L and -R options as many times as needed in a single SSH command (and can easily stor

Re: Translate user names with NFS

2011-06-15 Thread Dan
On Wed, Jun 15, 2011 at 11:39 AM, Camaleón wrote: > On Tue, 14 Jun 2011 22:14:55 -0400, Dan wrote: > >> On Tue, Jun 14, 2011 at 7:56 PM, Dan wrote: > > (...) > >>> Is there an easy way to translate the user names of the two machines >>> with NFS? >>> >> >> I think that it should be possible to do

Re: Translate user names with NFS

2011-06-15 Thread Camaleón
On Tue, 14 Jun 2011 22:14:55 -0400, Dan wrote: > On Tue, Jun 14, 2011 at 7:56 PM, Dan wrote: (...) >> Is there an easy way to translate the user names of the two machines >> with NFS? >> > > I think that it should be possible to do the translation with nfs4 using > /etc/idmapd.conf > > This

Re: Translate user names with NFS

2011-06-14 Thread Dan
On Tue, Jun 14, 2011 at 7:56 PM, Dan wrote: > Hi, > I would like to mount a NFS share from one computer to another. The > problem is that the usernames do not match. In NFSv3 there should be > an option map_static to map de UIDs and GIDs but for some reason it > does not work. It seems that I have

Translate user names with NFS

2011-06-14 Thread Dan
Hi, I would like to mount a NFS share from one computer to another. The problem is that the usernames do not match. In NFSv3 there should be an option map_static to map de UIDs and GIDs but for some reason it does not work. It seems that I have to use the package nfs-user-server to use that option,