[rhn-users] NIS problem: Cannot find name for user ID

Clinton Fernandes cfernand at utm.utoronto.ca
Mon May 9 18:28:18 UTC 2005


Hello fellow list users.

When I login to NIS clients I get the following message:

---------------------
id: cannot find name for user ID 511
id: cannot find name for user ID 511
[I have no name!@itchy ~]$
---------------------

I'm not sure what is causing it. Some googling suggested a missing enty in
/etc/nsswitch.conf. Mine looks like this:

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

hosts:      nis files dns

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   files

publickey:  nisplus

automount:  nis files
aliases:    nis files nisplus
---------------------

I'm not sure if there's something here that I should be getting from NIS or not.

I have also noticed connection refusals in the NIS server logs. I'm not sure if
connection refusals are because of the name/uid not being mapped or if the
name/uid is not being mapped because of the refused calls (chicken or the egg?):

---------------------
May  9 10:56:42 trogdor ypserv[12744]: refused connect from 192.168.168.61:32784
to procedure ypproc_match (NISDOMAIN,passwd.byuid;-1)
May  9 10:57:34 trogdor ypserv[12744]: refused connect from 192.168.168.61:32936
to procedure ypproc_all (NISDOMAIN,passwd.byuid;-1)
May  9 10:57:51 trogdor ypserv[12744]: refused connect from 192.168.168.61:32938
to procedure ypproc_all (NISDOMAIN,passwd.byname;-1)
May  9 10:57:59 trogdor ypserv[12744]: refused connect from 192.168.168.61:32940
to procedure ypproc_all (NISDOMAIN,which;-1)
May  9 10:58:14 trogdor ypserv[12744]: refused connect from 192.168.168.61:32784
to procedure ypproc_master (NISDOMAIN,mail.aliases;-1)
---------------------

Any ideas what's going wrong and how to fix it?

Thanks very much!
Clint

-- 
          my tail is dun.







More information about the rhn-users mailing list