RH EL3.0 Linux NIS+ Client and passwd table

Doug Staub rstaub at arrow.com
Fri Oct 8 16:14:50 GMT 2004


All,

I think I am missing something easy on a new Linux RH EL 3.0 client I am 
installing NIS+ on - I not able to log in as a NIS+ user, however, I am 
able to view all of the tables.  'keyserv' is running as is 'portmap' 
and 'keylogin -r' works.  The problem appears to be that this machine is 
not even trying to check the NIS+ arena for users (I ran a 'keyserv -D' 
and there is no output when trying to authenticate as a NIS+ user)- my 
/etc/pam.d/login appears as:

root at mothra pam.d]# more login
#%PAM-1.0
auth       required     pam_securetty.so
auth       required     pam_nologin.so
auth       required     /lib/security/pam_unix2.so set_secrpc
account    required     /lib/security/pam_unix2.so
password   required     /lib/security/pam_unix2.so
session    required     /lib/security/pam_unix2.so

My /etc/nsswitch.conf appears as:

#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#       nisplus or nis+         Use NIS+ (NIS version 3)
#       nis or yp               Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       db                      Use the local database (.db) files
#       compat                  Use NIS on compat mode
#       hesiod                  Use Hesiod for user lookups
#       [NOTFOUND=return]       Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis
passwd:     files nisplus
shadow:     files nisplus
group:      files nisplus
#hosts:     db files nisplus nis dns
hosts:      files nisplus dns
# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files
bootparams: files
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
netgroup:   files
publickey:  nisplus
automount:  files
aliases:    files

To make things worse, I have another client in a different NIS+ domain 
running the same OS and after hours of comparing files, cannot find any 
differences - please help!

Thanks,
Doug


More information about the linux-nisplus mailing list