LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 08-23-2006, 04:32 AM   #1
danielbourne
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Rep: Reputation: 0
NIS client login "cannot find user name for user ID"


I have recently created an NIS Server on Redhat ES 4 and I have two NIS clients both running Redhat 9. When an NIS user logs into either of the NIS clients, they receive the message id: cannot find name for user ID. I was also receiving thie error for the group ID but remedied this by adding an entry in the local clients group file. I have checked the permission on the passwd.byname and passwd.byuid and all are global read. Any ideas? Everything else seems to be working fine.

Additionally, I see the following in the NIS server syslog:
ypserv[5502]: refused connect from 192.168.0.19:32771 to procedure ypproc_match (server,passwd.byuid;-1)

ypserv[5502]: refused connect from 192.168.0.19:32771 to procedure ypproc_match (server,passwd.byname;-1)

The above IP is for the NIS client I am logging into.

Last edited by danielbourne; 08-23-2006 at 05:34 AM.
 
Old 08-23-2006, 09:09 AM   #2
tsergeant
LQ Newbie
 
Registered: Aug 2006
Location: Abilene, TX
Posts: 2

Rep: Reputation: 0
A couple of ideas ...

Daniel,

I'm not much of an expert ... but here are a few ideas
that may or may not help.

1. Make sure that yppasswdd is running on the server

2. Any time an account is changed be sure to (on server as root):

cd /var/yp
make

3. On the client check the settings in /etc/nsswitch.conf to make
sure that the appropriate info is set to be obtained by NIS.
For example,

passwd: files nis
shadow: files nis
group: files nis

4. Check the firewall settings on the server ... it may be blocking
a needed port.


Good luck!

Terry

Last edited by tsergeant; 08-23-2006 at 10:23 AM.
 
Old 08-24-2006, 04:16 AM   #3
danielbourne
LQ Newbie
 
Registered: Aug 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Yeah, all that is working. I think I might just need to remove and re-install the YPSERV stuff. Thanks though.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Login Problem: "command not found" unless root! DreameR-X Linux - General 15 12-21-2004 11:27 AM
NIS prob: added user to server, but can't login to client BrianK Linux - General 3 10-06-2004 04:29 PM
Two problem about "using pam to limit user login" coolend Linux - General 3 06-04-2004 01:11 PM
Shorten a Qmail user name to "user" instead of "user@domain.com" anorman Linux - Software 0 12-12-2003 08:29 AM
nis client login - user home dir not fnd synfield Linux - Networking 0 03-27-2003 03:51 AM


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