Source: nfs-utils Followup-For: Bug #502292 This report is now almost 10 years old - I'd suggest to close the bug with WONTFIX. The original reporter used libnss-ldap to access the user directory, which doesn't do caching of results as far as I know. Even changing /proc/sys/fs/nfs/idmap_cache_timeout to 10 seconds might not fix the race conditions entirely.
Since some time we have sssd which we can use to get users/groups from LDAP. sssd caches the results and can even allow offline authentication against LDAP users. So my suggestion to the original reporter would be to use sssd instead of libnss-ldap. What do you think?