Networking Forums

Networking Forums > Computer Networking > Linux Networking > NIS cannot lookup username

Reply
Thread Tools Display Modes

NIS cannot lookup username

 
 
Andy
Guest
Posts: n/a

 
      07-23-2003, 03:39 AM
Hi,

Myself, and at least two other people are having this problem. NIS is
setup properly, authentication succeeds, and everything is fine, EXCEPT
that user names cannot be found. When i login, i the following problem:

Last login: Sat Jul 19 2003 11:57:15 -0400 from 192.168.0.142
No mail.
id: cannot find name for user ID 500
id: cannot find name for user ID 500
[I have no name!@nymph ajj3085]$ whoami
whoami: cannot find username for UID 500
[I have no name!@nymph ajj3085]$ ls -ld .ssh2
drwx------ 2 500 ajj3085 4096 Jul 19 11:57 .ssh2
[I have no name!@nymph ajj3085]$

So as you can see, the group lookup is working fine, but the username is

not. ypcat does not list my user (ajj3085), HOWEVER, other users that
are listed by ypcat passwod.byuid also have the same problem.

Now, i might be able to live with not having a name, but it seems to
cause certain programs to segfault with sig 11 (nocore). At first i
thought it was NFS (/home is mounted from anotehr server), but if i
stopped ypbind and added the user ajj3085 locally, i was able to use ssh

fine with /home being mounted on NFS. kdedesktop_lock also suffers the
same problem; the screen will blank, no screensaver will start, and if
any key is pressed, the desktop comes back w/o prompting for password,
and reporting a segfault for the lock program.

Does anyone know why 1) only my user does not come back via ypcat? 2)
why no users that authenticate via NIS have a name, causing programs to
crash?

I'm running RH8.0 on both boxes, latest yptools, ypbind, and ypserv for
8.0 from rpmfind.net, stock kernel. Any other info that might be needed

to fix this problem can be provided.

Thanks in advance.
Andy





 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP profiles and Server 2003 (username.000 instead of username.domain) Herm Windows Networking 2 02-10-2005 11:05 AM
forward lookup JR Windows Networking 1 02-09-2004 01:17 AM
NIS cannot lookup username Andy Linux Networking 2 07-24-2003 02:29 AM
ATTN: Andy, NIS cannot lookup username BeeReKeN Linux Networking 1 07-24-2003 12:52 AM
NIS cannot lookup username Andy Linux Networking 0 07-19-2003 04:15 PM



1 2 3 4 5 6 7 8 9 10 11