Public bug reported:

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

My problem: If I restart both server and client, at the client all nfs4
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
    (I removed nscd entirely while I was looking for a solution)

To summarize: the cause of the problem is rpc.idmapd on the server,
which for some reasons can't map LDAP user/group names with uids/gids
when started. 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 (on the server) with order number
21, which contains

  /usr/bin/killall rpc.idmapd && /usr/sbin/rpc.idmapd

I guess my problem has to do with another problem (slightly different
setup, though) reported here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502292
(see also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500778)

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
rpc.idmapd does not see LDAP users (nfs4 server)
https://bugs.launchpad.net/bugs/335858
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to