Click to See Complete Forum and Search --> : Whats the big fscking secret????????


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).]

Sokertes
06-09-2000, 12:28 PM
Update:

I reinstalled the client machine with Mandrake 7.1 Beta 3 (haven't taken the time to get final version yet) and set it up for NIS. Now I can log in at the GUI and get to x windows but I have no desktop icons and the menus do not work (still assuming that it is accessing local profiles).

Question: Does NFS have anything to do with this?

Sokertes

greyris
06-09-2000, 12:32 PM
I don't know if I'm totally right, but I believe that NIS is primarily for maintaining user accounts, whereas NFS allows you to mount networked partitions. So you would set up NIS so that you could log into a machine with your network account, and NFS would actually mount the users home directory.

Someone correct me if I'm wrong, but that's the gist of what I got after skimming through 'running linux'.

Good luck,

-Mike

Sokertes
06-10-2000, 01:07 PM
After reading about NFS again you are right. Then fiddling with NFS and trying some things out it still didn't work.

Then reading it again I found that I miss read something and tried it again... I am posting this now through the Client machine and it works... YAHOOO!

Thanks greyris for helping and opening my eyes to my mistake.

Now for thenext question. I logged on to the Client machine with the name used for Win98 and I get those desktop icons as well on x windows. is there a way to cure that or are the Win98 users that log onto linux just stuck with that?

Sokertes

GWHunter
06-01-2001, 02:43 PM
I am having a very similar problem...could you help me. My home directory isn't found when I log in and I can't do anything. Email is ezd1@cdc.gov.

Thanks!