[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [nfs4] mapping problem



Mark <MSimkin@gmx.de> wrote:

> Recently I installed an nfs4 server and configured it to export to nfs3
> and nfs4 like that(/etc/exports/):

> #for nfs3
> /folder1        <ip>(rw,async,subtree_check)
> /folder2        <ip>(rw,async,subtree_check)
> /folder3        <ip>(rw,async,subtree_check)

> #for nfs4
> /nfs4     <ip>.0/24(rw,fsid=0,secure,no_subtree_check,sync)
> /nfs4/fd1 <ip>.0/24(rw,nohide,secure,subtree_check,sync,no_root_squash)
> /nfs4/fd2 <ip>.0/24(rw,nohide,secure,subtree_check,sync,no_root_squash)
> /nfs4/fd3 <ip>.0/24(rw,nohide,secure,subtree_check,sync,no_root_squash)

> Everything works quite smoothly and it is possible to mount the nfs3 and
>  the nfs4 exports, but every 10 minutes I get the following logcheck entry:

> rpc.idmapd[7103]: nss_getpwnam: name 'nobody' does not map into domain
> 'localdomain'

> I have no clue what the problem is. Is there any kind of problem with
> exported files, that do not belong to a group or a user?
> If that is the problem, how can I fix it?

NFSv4 uses a uid@domain format so your domains in /etc/idmapd.conf on
the client and the server have to match.


Reply to: