I have my own private cluster with CentOS 6 NFS servers and I am trying to make the NFS server available to my own cluster as well as a "shared cluster". The NFS server works completely fine within my own private cluster because both the NFS server and the NFS clients there authenticate to my private LDAP server and idmapd.conf all contain my domain. However, the trouble I run into when exporting NFS to the shared cluster is that everyone's ownership turns into nobody:nobody. All the shared cluster clients authenticate to the shared cluster's LDAP server and they have a different domain than I do.
How can I properly map UIDs so that we can avoid the nobody:nobody issue when exporting our NFS to a different domain?