[CentOS] nfs4 idmapd.conf user mapping

Thu Oct 11 01:30:51 UTC 2012
Paul B Schroeder <paulbsch at vbridges.com>


On 10/10/2012 07:01 PM, Greg Bailey wrote:
> On 10/10/2012 02:58 PM, Paul B Schroeder wrote:
>> On my CentOS 6.3 machine, in /etc/idmapd.conf I've updated the
>> "[Mapping]" section of the config file:
>> Nobody-User = paulbsch
>> Nobody-Group = paulbsch
>>
>> But the mapping is not working.  Files still show up as being owned by
>> "nobody".
>>
>> On my Fedora 14 machine, with the exact same changes to
>> /etc/idmapd.conf, the mapping works perfectly and the files show up as
>> being owned by "paulbsch".
>>
>> On the CentOS 6.3 machine:
>> nfs-utils-1.2.3-26.el6.x86_64
>> nfs-utils-lib-1.1.5-4.el6.x86_64
>>
>> On the F14 machine:
>> nfs-utils-1.2.3-6.fc14.x86_64
>> nfs-utils-lib-1.1.5-3.fc14.x86_64
>>
>> Would anybody have any idea why this is does not work on CentOS as it
>> does in F14?
> 
> I'm keeping my eye on:
> 
> [Bug 823848] NFSv4 idmapper maps files to user nobody
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=823848
> 
> Some of the comments suggest a patch is needed in nfs-utils.
The temporary workaround, in the link listed there, works for now.

Thanks!