Hi larry,

1. Make the following entries in the Automount+ NIS Server.
auto.master file:
---------------------
/home     auto.home

auto.home file
---------------------
larry     silicon:/home/larry ##silicon is the name of the server having the
homedirectories

# make as many entires as the users in the server .

auto.* fils can be in /etc or in yp/nis maps.

Automount daemon has to be started and check the status to see whether the /home
directory is listed in the shared nfs lists
(cmd: autofs status)

2. Export /home filesystem
/etc/exports  file
-----------------------
/home     *(rw)     # read write permission for all systems. Replace * wit h the
clients name.

3. On the NFS/NIS client

/etc/auto.master
-------------------------
/home     auto.home

/etc/auto.home
------------------------
larry     silicon:/home/larry

Create a /home directory.
run automount daemon here.

Now login as larry  into the client system. your home directory should now be
mounted on the client.
I am able to acheive up this level.
I am unable to make the client to read the yp/nis maps for the auto.master and
auto.home

This is what i tried on the client
/etc/auto.master
------------------------
+auto.master   # this tells autofs to read yp for auto.master entries

/etc/auto.home
----------------------
+auto.home     # same .

Am i doing something wrong?
Any way out of this problem?

Regards
Ramesh








Larry Liu <[EMAIL PROTECTED]> on 03/06/2000 08:24:07 PM

Please respond to "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
                                                                                
                                                                                
                                                                                


                                                              
                                                              
                                                              
 To:      Jathan R Ramesh/Systems Technology/DSQ Software     
          Limited/IN@DSQ                                      
                                                              
 cc:                                                          
                                                              
                                                              
                                                              
 Subject: RE: autofs and nis/yp problems.                     
                                                              







Hi, Ramesh,

I am actually having problems getting my nis/yp clients to mount their home
dir. What OS are you on? I am on Redhat Linux6.0. Could you advise me how
to make automount home directory working on Linux? Thanks.

-----Original Message-----
From:     [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent:     Monday, March 06, 2000 2:37 AM
To:  [EMAIL PROTECTED]
Subject:  autofs and nis/yp problems.



Hi,
I am trying to automount home directories of users with the help of
automount daemon and auto.master and auto.home files.
While logging in from any nis/yp client, the home directory gets mounted
only if
the local /etc/auto.home
file contains entries regarding the user.
It does not take the list from the auto.master and auto.home in the yp
database.
If I create the home directory entry in the nis/yp client's local
/etcauto.home,
the home directory gets mounted.
Is there any way to get rid of this problem.

Regards

Ramesh


__________________________________________________



Reply via email to