Comment 5 for bug 335858

Revision history for this message
Mark Hannon (markhannon) wrote : RE: [Bug 335858] Re: rpc.idmapd does not see LDAP users (nfs4 server)

Actually I *think* the problem has more to do with whether the ldap_nss stuff is up and running before nfs.

If you restart nfs-common on a running system then ldap_nss is well and truly running and you should be OK. However at bootup when nfs is first started then this is an issue.

Regards/Mark

PS I reverted to NFS3 mounts to avoid mucking around with this.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Jeremy Vies
Sent: Tuesday, 16 June 2009 5:23 PM
To: <email address hidden>
Subject: Re: [Bug 335858] Re: rpc.idmapd does not see LDAP users (nfs4 server)

So the problem seems very similar to mine. If it's really the case, it is
not due to LDAP, but only to NFSV4.

It seems that nfs-kernel-server needs nfs-common to be started. And vice et
versa.
The solution found on Debian bug analysis is to restart nfs-common in
rc.local so idmapd runs correctly, and users are correctly mapped.

2009/6/16 Mark Hannon <email address hidden>

> Hi Jeremy,
>
> The problem is that *all* files/directories on the NFS4 mount are owned
> by nobody:nogroup.
>
> Regards/Mark
>
>
> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Jeremy Vies
> Sent: Monday, 15 June 2009 5:35 PM
> To: <email address hidden>
> Subject: [Bug 335858] Re: rpc.idmapd does not see LDAP users (nfs4 server)
>
> Hi,
>
> are users not defined in ldap also affected ?
>
> I've some similar bug (except I don't have users managed by ldap) with a
> server running 8.04 and a client running 9.04.
> It seems similar to Debian Bug#468177: nfs-common: idmapd fails mapping if
> started before server
>
> --
> rpc.idmapd does not see LDAP users (nfs4 server)
> https://bugs.launchpad.net/bugs/335858
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> --
> rpc.idmapd does not see LDAP users (nfs4 server)
> https://bugs.launchpad.net/bugs/335858
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Theory is where you know everything, but nothing works; practice is where
everything works, but nobody knows why. Here we combine theory with
practice; nothing works and nobody knows why !
A.Einstein

--
rpc.idmapd does not see LDAP users (nfs4 server)
https://bugs.launchpad.net/bugs/335858
You received this bug notification because you are a direct subscriber
of the bug.