Web lists-archives.com

Re: Debian8 is not playing with Synology using NFS/CIFS

Am Tue, 08 Aug 2017 11:34:58 +0100 schrieb Darac Marjal:

> On Tue, Aug 08, 2017 at 10:09:42AM +0000, Joerg Desch wrote:
>>Am Tue, 08 Aug 2017 11:01:12 +0100 schrieb Darac Marjal:
>>> I'll assume that the Synology is a black box, and so we can't work out
>>> how it's configured.
>>Yes, more or less.
>>> Try "mount -v -t nfs name.or.ip.of.synology:/ /some/mountpoint" and
>>> see what errors result.
>>Mounting isn't the problem. The mount is working without errors
>>    mount.nfs: trying text-based options
>>    'hard,intr,vers=4,addr=,clientaddr='
>>My only problem is the (very old) goal to get different uid/gid working.
> OK, that's good. NFSv4 doesn't send UIDs/GIDs over the wire any more, it
> sends Usernames and Groups.

Hmm. I'm not so sure....

On my local workstation, my ID is 3000. On the Synology, the id is 1027. 
On both machines, my user name is "jd". SO, if the mapping is "name 
based", I should see all the files with uid 1027 on the servers with the 
correct name on the client.

This is not the case! A "ls -l" shows me all the different UIDs, but 
neither the corresponding name, nor "nobody".

I try cp/chmod/chgrp again tomorrow morning and post the result here.

Thanks so far...