LinuxQuestions.org
Help answer threads with 0 replies.
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 03-10-2003, 06:45 PM   #1
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Rep: Reputation: 30
NIS problems: clients not able to use NIS served information


NIS is the Network Information Service that uses the ypserver and ypbind services. What it does is make it possible for the machine hosting the ypserver to provide user passwords and host information over a LAN. You should be able to log into any machine on the LAN using the password distributed by the machine on the network running ypserv.

But I can't seem to get it going. The commands ypwhich show the correct server and ypcat map show that the clients are getting the right user and host information. But, I can't get any of the other programs on the clients to use the information. I can't log in to the client machines or "su" -- switch user -- and I cannot ping another host using the host name which should be resolved using NIS.

What could I possibly be missing? I have exploited the How To's and three different Administrator's Manuals with no complete success. I've tried a completely commented out /etc/ypserv.conf file. I've tried shutting down iptables.

An odd thing is that I was having problems with NFS giving permission to enter NFS mounted directories and now for some reason, they are wide open. Any root can access them.

Any and all tips and clues would be appreciated.
 
Old 03-11-2003, 02:47 PM   #2
tellezj
LQ Newbie
 
Registered: Jan 2003
Distribution: Slackware
Posts: 26

Rep: Reputation: 15
Have you made the necessary changes to /etc/passwd, /etc/group, and /etc/nsswitch.conf?

At the end of /etc/passwd add a line at the end that looks like this:

+:::::

At the end of /etc/group add a line that looks like this:

+:::

In /etc/nsswitch.conf (it may be different on RH) make sure the lines for passwd, shadow, group, and hosts has "nis" in them.

Hope that helps.
 
Old 03-11-2003, 10:40 PM   #3
SparceMatrix
Member
 
Registered: Aug 2002
Distribution: SME Server, CentOS
Posts: 219

Original Poster
Rep: Reputation: 30
Yes, simply editing the nsswitch seemed to get things going.

The administration books I was looking at were only two years old. But I did see some reference to the file in some O'Reilly books and they were about the same age. I made the changes they recommended, which is to change "nisplus" to "nis".

Next stop? DNS.

Thanks all to those who responded!
 
  


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
SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working fishsponge Linux - Networking 0 11-29-2005 07:43 AM
need information about NIS real_shock Linux - Networking 0 07-16-2004 06:04 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Networking 1 03-31-2004 07:51 AM
NIS and Linux Clients Quicksil *BSD 0 03-19-2004 08:25 PM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration