LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-05-2003, 09:13 AM   #1
airrr
LQ Newbie
 
Registered: Aug 2003
Posts: 8

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


Hi-
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, 09:57 AM   #2
bentz
Member
 
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, 11:05 AM   #3
airrr
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.
 
  


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


All times are GMT -5. The time now is 08:48 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