I'm trying to use NFSv4 mounts and idmap to deal with differences in the uid/gid values between the server and clients. It is my understanding that NFSv4/idmap will map names->ids, and not use the id values directly. Is this correct?
If so, something seems to be going wrong with my setup and I would appreciate the help to diagnose out what is wrong. Everything works mounting the nfs share on the client, and the idmap'ing appear to succeed, but when the user attempts to access the share contents "permission denied" is all that happens. Here are the details of the failure: - os is the nfs server, running OpenSolaris 2005.11 (build 94) - etch-01 is the nfs client, running Debian Etch (2.6.18-6 kernel) - ip addresses are os (192.168.2.62) and etch-01 (192.168.254.10) - NFSMAPID_DOMAIN = localnet (os -> /etc/default/nfs) - Domain = localnet (etch-01 -> /etc/idmapd.conf - automount is configured and working on client mount info on client: ----------------------- etch-01 # mount ... 192.168.2.62:/export/home/pfisher on /home/pfisher type nfs4 (rw,nosuid,nodev,noatime,sec=sys,proto=tcp,hard,intr,rsize=32768,wsize=32768,retrans=2,addr=192.168.2.62) failure on client: -------------------- etch-01 # su - pfisher etch-01 $ ls ls: .: Permission denied server infomation on user and directory: ------------------------------------------ os $ id pfisher uid=101(pfisher) gid=10(staff) groups=10(staff) os $ ls -l /export/home total 5 drwx-----x 58 pfisher staff 91 2008-08-04 09:00 pfisher client infomation on user and directory: ------------------------------------------ etch-01 # id pfisher uid=1000(pfisher) gid=103(pfisher) groups=103(pfisher),4(adm),24(cdrom),37(operator),50(staff),100(users) etch-01 # ls -l /home total 5 drwx-----x 58 pfisher staff 91 Aug 4 2008 pfisher -- paul