1832527 Members
8406 Online
110043 Solutions
New Discussion

Re: automounter

 
P.V.Ramesh_2
Occasional Contributor

automounter

Hi

I have NIS server and NIS Client. Both are binding good. I enabled automounter in connection with NIS server. The required changes i have done. But i am unable to mount user home directory when he logs from any machine.

What i have done is

1. Enabled autofs=1
2. NIS_Client=1
3. The machine is having indirect maps. in auto_master i have put entries like this

/net -hosts
/home /etc/auto.home.

The above entries are in client side.

In server side.

NFS-SERVER=1
NFS-CLIENT=1
NIS-MASTER=1

copied all system admin files like passwd ,groups, netgroup etc in /admin/etc.
in auto_master file the entries are

/net -hosts
/home /admin/etc/auto.home

in auto.home

usersname servername:

maps are propagated properly.

But i am unable to mount user home directory's.

The only error i am seeing is after restarting nis.client by /sbin/init.d/nis.client start i am receiveing error the following.

./nis.client start
starting NIS CLIENT networking
starting up the rpcbind
rpcbind already started, using pid:677
domainname svr
starting up the Network Information Service
starting up the ypbind daemon
/usr/lib/netsvc/yp/ypbind
calling ypset with lanai
sorry, ypbind on host kauai has rejected your request
checking NIS binding.
Bound to NIS server using domain svr
starting up the keyserv daemon
/usr/sbin/keyserv.


Appreciate anybody's help on resolving the issue.

3 REPLIES 3
Michael Tully
Honored Contributor
Rajeev  Shukla
Honored Contributor

Re: automounter

Hi Ramesh,
I assume you have restarted both nfs.core and nfs.client after making the changes in netconf on both server and client.

Cheers
Rajeev
U.SivaKumar_2
Honored Contributor

Re: automounter

Hi,

Which is this host "kuaai" ?

Have you tried mounting user's home directory on a NON-NIS client ?

Can you paste /etc/rc.config.d/namesvrs file's contents here?

regards,
U.SivaKumar
Innovations are made when conventions are broken