From: "Pascal A. Dupuis" <Pascal.Dupuis-s1sOSHjJPfVpcTqYljSg7g@public.gmane.org>
To: nfs@lists.sourceforge.net
Subject: [NFS] Mapping ?
Date: Tue, 12 Feb 2008 20:40:41 +0100 [thread overview]
Message-ID: <20080212194040.GA16370@example.org> (raw)
Hello,
next batch of problems.
Server setup: I created a /srv/nfsv4 dir, then mounted 3 dir there
using the bind option: "/backup on /srv/nfsv4/backup type bind
(rw,bind)" and so on. The /etc/exports contains ONE dir:
/srv/nfsv4 192.168.1.2(root_squash,rw,sync,fsid=0,crossmnt,subtree_check)
rpc.imapd running, /etc/idmapd.conf minimalistic as explained in the
nfs-howto
On the client side, mounting immediatly results in the following
message: rpc.idmapd[3299]: nss_getpwnam: name '0' does not map into domain 'localdomain'
Then,
`ls -al the_mounted_dir`
drwxr-xr-x 7 nobody nogroup 4096 2007-11-28 10:07 backup
So far so good, but ...
`ls -al the_mounted_dir/backup`
kernel: fsid 0:13: expected fileid 0x2, got 0x802a
The file /etc/nsswitch.conf contains "passwd: compat"
Both server and client running Debian testing, with the package as
nfs-kernel-server/lenny uptodate 1:1.1.1-12
Kernel is 2.6.24.2.
Any idea ?
While at the subject, is there a simple way to map UID x on the server
onto UID y on the client ?
TIA
Pascal Dupuis
--
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@lists.sourceforge.net is being discontinued.
Please subscribe to linux-nfs@vger.kernel.org instead.
http://vger.kernel.org/vger-lists.html#linux-nfs
next reply other threads:[~2008-02-12 19:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-12 19:40 Pascal A. Dupuis [this message]
[not found] ` <20080212194040.GA16370-hcDgGtZH8xNAfugRpC6u6w@public.gmane.org>
2008-02-13 16:04 ` [NFS] Mapping ? Kevin Coffman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080212194040.GA16370@example.org \
--to=pascal.dupuis-s1soshjjpfvpctqyljsg7g@public.gmane.org \
--cc=nfs@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox