Red Hat Bugzilla – Bug 447237
Default configuration of idmapd does not work in many cases
Last modified: 2008-07-03 23:41:15 EDT
Description of problem:
The nfs-utils-lib package installs /etc/idmapd.conf. The default configuration contains the line
"Domain = localhost.localdomain." This line is often incompatible with the way NFS is configured.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install nfs-utils-lib and nfs-utils. Start idmapd.
2. Mount an NFS share.
3. Perform an "ls -l" of a directory within the mounted share.
The owner and group owners of files may be set to "nobody." This is because the NFS domain is not set
to "localhost.localdomain" and does not match the domain setting in idmapd.conf. Idmapd must be
The owner of the files should be listed properly.
Removing the "Domain =" entry seems to force idmapd to determine the NFS domain by using the
computer's hostname. This seems to be the default behavior of the NFS server as well. Therefore, I
recommend removing the "Domain =" entry from the idmapd.conf file that nfs-utils-lib installs.
If you actually define you local domain to something other
than "localhost.localdomain", are the uid/gid mapped correctly?
Yes. My client and server are configured as imp.flyn.org and golem.flyn.org (This is what hostname
prints). The UID and GID's are mapped correctly with *no* "Domain =" entry in idmapd.conf.
Fixed in nfs-utils-lib-1.1.1-4.fc9
nfs-utils-lib-1.1.1-4.fc9 has been submitted as an update for Fedora 9
nfs-utils-lib-1.1.1-4.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update nfs-utils-lib'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-5824
nfs-utils-lib-1.1.1-4.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.