I guess I have the same problem, but without using libnss-ldap
My setup:
Server (Ubuntu 8.04):
Kerberos server for authentication
OpenLDAP server for user and group data
NFS 4 kernel server for home directories
Client (Ubuntu 8.04, 8.10, 9.04 alpha)
libpam-krb5 for authentication
libnss-ldap for user and group data
nfs4 client for home directories
If I restart both server and client, at the client all NFS
files/directories are reported to belong to nobody:nogroup
The problem disappears immediately, if I do
server: killall rpc.idmapd && /usr/sbin/rpc.idmapd
client: /etc/init.d/nscd restart
(later on, I removed nscd entirely)
To summarize: the cause of the problem is rpc.idmapd on the server,
which for some reasons can't map user/group names with uids/gids.
Perhaps libnss-ldap is not yet active? (nfs-common has an order number
of 20, slapd 19, so this should be OK.)
My workaround is a small initv script with order number 21, which contains
/usr/bin/killall rpc.idmapd && /usr/sbin/rpc.idmapd
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org