Hello there
I'm running Linux Mint 20.1 Cinnamon on my desktop and am trying to access my Synology NAS NFS shares from it. I'm on a home network, but the user UID/GID do not align between the server (Synology) and the client. I understand that idmapd must be running on both NFS server and client in order to properly have the same user names align, eventually. Similarly, I understand that I must use NFS v4 for idmapd to work.
In any case, I was able to have idmapd running on the Linux Mint client side, by installing the nfs-kernel-server package and now have idmapd up and running on the client.
In /etc/idmapd.conf, the domain has been set to the same name, on both server and client.Code:$ sudo systemctl status nfs-idmapd ● nfs-idmapd.service - NFSv4 ID-name mapping service Loaded: loaded (/lib/systemd/system/nfs-idmapd.service; static; vendor preset: enabled) Active: active (running) since Tue 2021-05-25 17:39:22 CEST; 49min ago Process: 11772 ExecStart=/usr/sbin/rpc.idmapd $RPCIDMAPDARGS (code=exited, status=0/SUCCESS) Main PID: 11774 (rpc.idmapd) Tasks: 1 (limit: 9113) Memory: 604.0K CGroup: /system.slice/nfs-idmapd.service └─11774 /usr/sbin/rpc.idmapd mai 25 17:39:22 Tatihou systemd[1]: Starting NFSv4 ID-name mapping service... mai 25 17:39:22 Tatihou systemd[1]: Started NFSv4 ID-name mapping service.
However, I don't know what to use in terms of Mapping in idmapd.conf so that usernames are properly translated, thus permissions are properly granted.
Does anybody have any mileage regarding this type of setup between a Linux box (Ubuntu-based) and a Synology NFS server?
In particular
- what Translation should be used between static, nsswitch and umich_ldap?
- what logfiles should I look into to make sure that idmapd properly works?
Any pointer to a working solution would be welcome. I've looked at tons of forum pages (for Linux Mint, Ubuntu and Synology) but haven't seen the light yet. Also, I don't want to have to install Kerberos or LDAP. This is simply a family LAN I'm working on!
Cheers
bedege
Bookmarks