LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-22-2004, 10:13 AM   #1
kaizersozzai
LQ Newbie
 
Registered: Oct 2004
Location: Schenectady NY
Distribution: Suse
Posts: 3

Rep: Reputation: 0
Domainname and Server found, but cannot login into YP server


Hi. I know that there are a few different threads on this topic, but I have read all of them and I still have not found a solution to my problem. I would like tp apologise ahead of time for my lack of terminology. I have here a machine, Foo, to which I would like to export a group of directories to another machine, Steve. Right now, Foo already serves a group of machines and this is working fine. Recently, I have been trying to get Steve to also working with this NIS Server. When I installed Redhat 9.0 on Steve, I specified the domain, yoyo, and the server, Steve.blah.edu, but I am unable to login under that domain. I have also attempted to place Foo under another domain and this was successful. When I run ypwhich and domainname, I get the correct information, but when I run yptest, I fail 5 out of the 9 tests. For example:
Test3: yp_match
WARNING: Internal NIS error (Map pawwds.byname, key nobody)

Simial errors occur for the other tests. Thank you in advance for any help I can get. Like I said before, I don't like making threads when there are other similar, but I am very desparate right now and could really use the help.
 
Old 10-23-2004, 05:42 PM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Have you tried running ypcat from steve?
This would let you check if you get contact with the NIS server and if you get any information from it.
Then try to see if you get information from all maps that you need.

Since I don't know you experience with NIS:
The NIS domain doesn't have to be the same as your DNS domain, they are separate domains.
Use domainname to check that the NIS domain is correctly configured for steve.
 
Old 10-25-2004, 09:07 AM   #3
kaizersozzai
LQ Newbie
 
Registered: Oct 2004
Location: Schenectady NY
Distribution: Suse
Posts: 3

Original Poster
Rep: Reputation: 0
Hi. I know a small amount about NIS. I understand that the domain and the domain server can be different, that how we have it set up. Our problem is that I has the corret domain and domain server, but when we try to login usings users from the domain server, it does not allow us to. We've ran ypcat from the server and everything seems fine. On the client, we've tried running yptest and we fail 5 of the nine test. The first error that comes up looks like this:
Test 3: yp_match
Warning: Internal NIS error (Map passwd.byname, key nobody)
Similar errors occur other the following tests. We've made sure that the server is allowed to accept from the ip address of the client (or at least i hope we are). I'm open to any suggestions because we've tried to dublicate the settings that we have on other machines, but we are obviously missing something. THanks in advance.
 
Old 10-26-2004, 05:07 PM   #4
kaizersozzai
LQ Newbie
 
Registered: Oct 2004
Location: Schenectady NY
Distribution: Suse
Posts: 3

Original Poster
Rep: Reputation: 0
Solution

Hi all. I have a solution to my problem, but I would like to restate the problem in a better way for anyone who is looking for anyone who is having a similar problem.

I have a server, Steve, to which many other computers are connected to through NIS. For the past week, I've been trying to get a new group of computers to use Steve as an NIS server. During the installation, I gave the clients the proper NIS server and domain. We went into the server's /etc/hosts.allow file and added the ip addresses of the new computers, but We was still unable to get users from the NIS to be able to logon to these new clients. When I ran domainname and ypwhich the clients would return the correct information. But when yptest was ran, it would return errors, mainly having to do with the NIS maps not being read by the client. They looked like the following:

Test3 ypmatch
WARNING cannot match (Map passwd.byname, key nobody)

In an effort to find the problem, We were able to connect the computers through a different server and domain.

The solution:

I ran a man on rpc.ypxfrd, it refers to the /var/yp/sercurenets file on the server. There, you must add to the list of allowed connections, the subnet mask and the ip's of the computers that you would like to connect with that NIS server.


I hope this is of some help to anyone. If you have any other questions, you can ask on this thread. And thanks to ugge for replying.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Found this server at http://1:/ KitM Linux - Networking 5 01-20-2004 01:08 AM
ISP server not found agnelo Linux - Newbie 2 04-10-2003 03:48 PM
server not found boo Linux - Networking 9 07-27-2002 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration