I only found 1 or 2 other posting on this, without any solution, so I am creating a new, more specific question for my case.
System set up: NFS server running NFSv4. NFS client running RedHat 6, idmapd running with the following in /etc/idmapd.conf:
[General] Verbosity = 7 Domain = localdomain [Mapping] Nobody-User = nobody Nobody-Group = nobody Method = nsswitch
The issue is chown/chgrp for certain users fail with 'Invalid argument' error, as follows, even though the user exists on local host:
# chown oracle m chown: changing ownership of `m': Invalid argument # grep oracle /etc/passwd oracle:x:54321:54321::/home/oracle:/bin/bash # chown mysql m # grep mysql /etc/passwd mysql:x:496:496:MySQL server:/var/lib/mysql:/bin/bash
Why does idmapd not recognize certain users but it works with others (root, nobody, and even mysql, which is non-standard, are OK)?
Any specific setting I am missing above? I thought when Domain is set to localdomain then everything should just work using local passwd/group files, etc. (And yes, nsswitch.conf lists passwd and group as files)?
Thanks in advance!