auto.home, autofs + NIS problem
Hi,
I am facing 2 problems with this.
My machine configurations:
---------------------------------
NIS server: 172.168.1.132
NFS Shares: /rhome/station100/
NIS Client: 172.168.1.129
Needs to mount nis user dir under /rhome/nis which on server, is under /rhome/station100/nis
My auto.master entries:
/rhome/ /etc/auto.home -rw
My auto.home entries:
station100 172.168.1.132:/rhome/&
* 172.168.1.132:/rhome/station100/&
Details:
-----------
Problem 1> Even though,nis1's home dir gets mounted under /rhome/nis1,
I get the error upon login: "Could not able to change to /rhome/statoion100/nis1 No such file or directory" on client(172.168.1.129) and nis user is placed in '/' of client.
[root@aca80181 ~]# ssh -l nis1 172.168.1.129
nis1@172.168.1.129's password:
Last login: Thu Jul 23 11:42:09 2009 from aca80181.ipt.aol.com
Could not chdir to home directory /rhome/station100/nis1: No such file or directory
-bash-3.2$ pwd
/
Problem 2> Though only one user nis1 tried to login, all the users are getting their home dirs in /rhome/.I want the home dir of only the user who logs in to be mounted.
[root@aca80181 ~]# ls /rhome/
nis1 nis2 nis3
Plz tell me how to resolve this.This seems very challenging.
|