Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-05-2003, 10:13 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
Red Hat 8/9 NIS Authentication failing

I'm having a problem setting up my red hat 9 computer lab to authenticate using NIS from a red hat 8 server. The server is brand new and came preinstalled with red hat 8 from Dell. I have followed the howto's to set it up as an NIS server. When I try to log into the GUI on a client, I get invalid username / password.
I can telnet, ftp, access samba shares, and access web pages on the server just fine. Authentication just doesnt work. I have run "service iptables stop" on both client and server. I set up the domaimname properly on both client and server. When I do a "ypcat passwd.byname" I get nothing. In all my makes and service starts I have not gotten ANY errors. Any ideas what I could be missing? Thanks for any help!

BTW-the reason I'm trying to set up NIS is because I beat my head against the wall trying to use Samba already and I get the same login error with that. the Samba log files on the server seem to indicate successful authentication, but the client still says "invalid username / password"!
Old 08-05-2003, 10:57 AM   #2
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Did you look at /etc/nsswitch.conf and make sure that 'passwd: files nis' and 'shadow: files nis', etc? How about 'getent passwd'?
Old 08-05-2003, 12:05 PM   #3
LQ Newbie
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for the response, bentz. I finally got it working after I went onto the server and restarted a bunch of services. I noticed that ypmap wasnt started and I think that may have done the trick. Anyway, I'm up and running now... sort of. I'm going to start a new thread with a more appropriate subject for my new problem.


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
Setting up NIS on Red Hat 9 Thaidog Linux - General 1 11-14-2005 12:18 AM
tftp server on Red Hat V6 failing after mulitiple tftpboot requests lab123 Linux - Networking 0 08-24-2005 02:55 PM
Red Hat, problems to login with NIS but ypcat works aussiebuddha Linux - Networking 2 03-23-2005 07:41 PM
Red Hat 9.0 Sendmail Authentication harish_neo Linux - Networking 2 09-30-2004 01:34 AM
Failing To Mount Cdrom - Red Hat Ver 7.2 nyasha Linux - Hardware 1 11-07-2003 02:41 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:09 PM.

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