Hello,
I am implementing NIS server at my organization.
Server = nistest
client = nisclient1
The server is on rhel 6.0 and client is on rhel6.1
My concern is, i am able to login the client with credentials i have set in /var/yp/passwd and /var/yp/shadow. But i am not able to access home directories from client.
Below are some inputs
on server,
[root@nistest yp]# ypcat passwd |grep -i nisuser1
nisuser1:x:39584:100:NIS test user:/users/nisuser1:/bin/csh
[root@nistest yp]#
on client,
[root@nisclient1 ~]# ypcat -k passwd |grep -i nisuser1
nisuser1 nisuser1:x:39584:100:NIS test user:/users/nisuser1:/bin/csh
[root@nisclient1 ~]#
[root@nisclient1 ~]# ypcat -k auto.master
/users /etc/auto.home
+auto.master
[root@nisclient1 ~]#
[root@nisclient1 ~]# ypcat -k auto.home |grep -i nisuser1
nisuser1 storage1:/vol/home/it_home/nisuser1
[root@nisclient1 ~]#
The home directories resides on filer storage1. When i copy these details locally on client, i am able to login and access home directories. But with nis, i am not able to access home directories, getting below error.
[root@nisclient1 ~]# su - nisuser1
su: warning: cannot change directory to /users/nisuser1: No such file or directory
[nisuser1@nisclient1 /root]$
Thanks in advance