Sokertes
06-08-2000, 01:23 PM
OK, here i sit to take a ........ Oh, sorry. I didn't see you standing there. http://www.linuxnewbie.org/ubb/redface.gif
Ok, I have set up NIS the way it is posted and in the manuels. I can log on to NIS server but I have no home dir for the user. It is on the NIS server but the workstation that I logon with tells me that I have no home dir. WTF???? http://www.linuxnewbie.org/ubb/mad.gif I have gone over and over it the past couple of days and I can find nothing. So that brings me to the question..... What is the big fscking secret??? http://www.linuxnewbie.org/ubb/confused.gif
Here is the steps that I have taken to set up the Client and the Server. Then tell me if I am missing anything, PLEASE?
Server setup:
>domainname samba.myworld.box
>added line "NIS_DOMAIN=samba.myworld.box" to /etc/sysconfig/network
>started ypserv w/command "etc/rc.d/init.d/ypserv start"
>/usr/lib/yp/ypinit -m
>/var/yp/make
everything seems to have gone right with no errors
Client setup:
>edit /etc/yp.conf and added the NIS Domain specs
>started ypbind w/command "/etc/rc.d/init.d/ypbind start"
>edit /etc/nsswitch.conf and added line
passwd: files nis
>added line +:::::: to /etc/passwd
everything seems to have gone right with no errors
Then I reboot both machines and make sure that Client listens and binds to Server and it does. I logon to Client with user that was added in to Server using adduser in console. It logs in and comes back saying
"No directory /home/tech!"
"Logging in with home = "/"."
I am assuming that it is trying to access the home directory on the Client machine whein it is suppossed to access the home directory on the Server, right? http://www.linuxnewbie.org/ubb/confused.gif
So what is the deal and what is the big secret? http://www.linuxnewbie.org/ubb/frown.gif
Thanks in advance. http://www.linuxnewbie.org/ubb/smile.gif
Sokertes
[This message has been edited by Sokertes (edited 08 June 2000).]
[This message has been edited by Sokertes (edited 08 June 2000).]
Ok, I have set up NIS the way it is posted and in the manuels. I can log on to NIS server but I have no home dir for the user. It is on the NIS server but the workstation that I logon with tells me that I have no home dir. WTF???? http://www.linuxnewbie.org/ubb/mad.gif I have gone over and over it the past couple of days and I can find nothing. So that brings me to the question..... What is the big fscking secret??? http://www.linuxnewbie.org/ubb/confused.gif
Here is the steps that I have taken to set up the Client and the Server. Then tell me if I am missing anything, PLEASE?
Server setup:
>domainname samba.myworld.box
>added line "NIS_DOMAIN=samba.myworld.box" to /etc/sysconfig/network
>started ypserv w/command "etc/rc.d/init.d/ypserv start"
>/usr/lib/yp/ypinit -m
>/var/yp/make
everything seems to have gone right with no errors
Client setup:
>edit /etc/yp.conf and added the NIS Domain specs
>started ypbind w/command "/etc/rc.d/init.d/ypbind start"
>edit /etc/nsswitch.conf and added line
passwd: files nis
>added line +:::::: to /etc/passwd
everything seems to have gone right with no errors
Then I reboot both machines and make sure that Client listens and binds to Server and it does. I logon to Client with user that was added in to Server using adduser in console. It logs in and comes back saying
"No directory /home/tech!"
"Logging in with home = "/"."
I am assuming that it is trying to access the home directory on the Client machine whein it is suppossed to access the home directory on the Server, right? http://www.linuxnewbie.org/ubb/confused.gif
So what is the deal and what is the big secret? http://www.linuxnewbie.org/ubb/frown.gif
Thanks in advance. http://www.linuxnewbie.org/ubb/smile.gif
Sokertes
[This message has been edited by Sokertes (edited 08 June 2000).]
[This message has been edited by Sokertes (edited 08 June 2000).]