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-23-2006, 05:32 AM   #1
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 to procedure ypproc_match (server,passwd.byuid;-1)

ypserv[5502]: refused connect from 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 06:34 AM.
Old 08-23-2006, 10:09 AM   #2
LQ Newbie
Registered: Aug 2006
Location: Abilene, TX
Posts: 2

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


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

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!


Last edited by tsergeant; 08-23-2006 at 11:23 AM.
Old 08-24-2006, 05:16 AM   #3
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.


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
User Login Problem: "command not found" unless root! DreameR-X Linux - General 15 12-21-2004 12:27 PM
NIS prob: added user to server, but can't login to client BrianK Linux - General 3 10-06-2004 05:29 PM
Two problem about "using pam to limit user login" coolend Linux - General 3 06-04-2004 02:11 PM
Shorten a Qmail user name to "user" instead of "" anorman Linux - Software 0 12-12-2003 09:29 AM
nis client login - user home dir not fnd synfield Linux - Networking 0 03-27-2003 04:51 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:54 AM.

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
Open Source Consulting | Domain Registration