Rajeev Rao proclaimed:
> >1. Install OS on the server.
> >2. Install and configure NFS to export /home
> done. I was able to ensure that the right directory was being exported by
> #showmount -e 192.168.1.1
> Export list for 192.168.1.1:
> /home *
Also look at what options (read-write permissions you are setting for
your export, for example) you are choosing on the server side.
> >3. Install and configure NIS and its various maps
> I setup NIS, and I configured the auto.home and auto.master according to
> your previous instructions
My previous instructions were for an NIS client. Did you install the
NIS server and configure it? The Network Administration Guide
(available off of http://www.linuxdoc.org/) and the documentation that
comes with NIS should have more information on this.
> >4. Install OS on the client.
>
> >5. Configure and run /etc/rc.d/init.d/ypbind
> >6. Run 'ypcat passwd', 'ypcat -k auto.master' and 'ypcat -k auto.home'
> #ypcat passwd : worked
> #ypcat -k auto.master
> No such map auto.master. Reason: No such map in server's domain
>
> I checked the server, but this file was present. I got the same result for
> ypcat -k auto.home
Obviously, there is a problem here. Probably because of you not
creating the appropriate maps on the server side (see above).
>
> >on client to see if everything related to NIS is reaching the client
> >fine.
>
> >7. Now before installing and configruing autofs, log in as rajeev. You
> >will be able to log in but your home directory will not be mounted.
> >Then log out.
> Although they were erros in step 6, this step worked as predicted.
Good.
> >8. Now become root and make run 'mount -t nfs
> server_name:/home/rajeev
> >/u/rajeev' (i.e. mount the home directory manually from the server onto
> >the client.
> The directory successfully mounted, but on ls, the following message was
> displayed on the server :
> fh_verify: home/rajeev permission failure, acc=4, error=13
When you export /home/rajeev on the server, make sure that user rajeev
has permissions to read and write.
Thaths
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH