Re: Help with NIS+NFS in Squeeze
Em Seg, 2013-02-04 às 10:18 -0900, Mark Neyhart escreveu:
> Markos wrote:
> > Dear Bob,
> >
> > Em Dom, 2013-02-03 Ã s 12:48 -0700, Bob Proulx escreveu:
> >> Markos wrote:
>
> >>> But I can manually mount the /home partition on the clients with the
> >>> command:
> >>>
> >>> mount 192.168.0.1:/home /home
> >> Good.
> >>
>
> The ip address in the above mount command agrees with the address in
> /etc/network/interfaces.
>
> > The file /etc/network/interfaces of the server is:
> >
> > # The loopback network interface
> > it self
> > inet loopback iface it
> >
> > auto eth0
> > iface eth0 inet static
> > address 192.168.0.1
> > netmask 255.255.255.0
> >
>
> But the ip address you list below in /etc/fstab does not agree with
> the address in etc/network/interfaces.
>
>
> > I copied these options from a site. I was thinking to simplify and
> > replace with just "defaults"
> >
> > 192.168.10.101:/home /home nfs defaults 0 0
> >
>
> You should replace 192.168.10.101 with 192.168.0.1
>
> >>In /etc/nsswitch.conf file:
> >>
> >> passwd: files nis
> >> group: files nis
> >> shadow: files nis
> >>
> >
> >Ok.
> >
> >But what about the files /etc/passwd ... /etc/gshadow. Should remove
> >the "+" at the end of these files?
> >
>
> If you modify the /etc/nsswitch.conf as Bob recommends, remove the +
> at the end of /etc/passwd ... /etc/gshadow.
>
> Mark Neyhart
>
Dear,
I just checked the configuration file /etc/fstab on the client machine
and the server IP address is correct. 192.168.0.1
When writing the message I copied and pasted the IP address of the site
that I used as a reference and I forgot to check.
Sorry for the mistake.
Do you have any other suggestions?
Thanks for your attention,
Markos
Reply to: