On Mon, Apr 19, 2010 at 10:26 AM, Tom Haynes <[email protected]> wrote:
> On 04/19/10 11:16 AM, Shawn Webb wrote: > >> Ah! You're right. NFS is mapping my user to the nobody user. With both >> boxes being set to the same domain (0xfeedface.org) via /etc/default/nfs, >> shouldn't NFS map the user to the "shawn" account? Or is there some >> configuration setting I'm missing? >> >> >> > > > I'm guessing that 192.168.2.6 is not properly in your name servers. I.e., > the fact that it has an IP and not a hostname. > > Does that also mean that you don't have NIS or LDAP running on it? > Right. I'm not running NIS or LDAP. I'm using my ISPs default DNS servers. Should I create a zone and set up DNS and LDAP? > > If so, is "shawn" defined in /etc/passwd ? > Yes, shawn is defined in /etc/passwd on both boxes. In fact, both users on both boxes have the same UID. > > I.e., if the server can not find a mapping for "[email protected]" > via looking up "shawn", then it will use "nobody" as the owner. > > If "shawn" is a valid user, then see of snoop show the client > sending [email protected] as the owner... > > snoop -o mount.scp shawn-desktop 192.168.2.6 > I ran that snoop command, but it didn't really display anything. It just displayed a number. The output: sh...@sully:~$ pfexec snoop -o mount.scp shawn-desktop 192.168.2.6 Using device rge0 (promiscuous mode) 197 ^C > > should limit it to just those two machines. > > Then > > snoop -v -i mount.scp > xxx > > should give you human readable output. You can then look at the > results. > > > _______________________________________________ nfs-discuss mailing list [email protected]
