On Wed, Feb 27, 2008 at 03:32:04PM +0100, Alessio Gaeta wrote:
> Hello.
> I'm running a home server with Debian Lenny and exporting NFS4 shares.
> Needing a basic username<->UID mapping I use idmapd (on server and
> clients, of course).
> 
> Nevertheless, when accessing shares from a client, all files are mapped
> to nobody:nogroup.
> Restarting idmapd (/etc/init.d/nfs-common restart) solves the problem,
> and users are correctly mapped.

Where are you restarting idmapd? On the server or the client?

> It seems that tries to map UID as usernames when started before nfsd; in
> daemon.log I can read messages like:
> 
> rpc.idmapd[pid]: nss_getpwnam: name '1000' does not map into domain foo'

This is an error from NSS. What does your NSS setup look like? Are you using
LDAP or somesuch?

> Maybe init start order of nfs-common should be reconsidered, moving the
> script after nfs-kernel-server.

That would be impossible -- nfs-kernel-server depends on nfs-common to run
properly.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to