Hello everbody,
I have a problem with NIS client. Let me explain the system breifly: There are a NIS server and NIS client. NIS client also has a local user which is called "local". The problem is that when NIS server is down, local user of the NIS client can not login into the NIS client, NIS client tries to connect NIS server and hangs. I suspect that there is something wrong about nsswitch.conf file which is below. Can anyone explain me what is wrong, and how can i fix it? Thanks.
Ozden AKINCI


##############################################################################
# /etc/nsswitch.nis:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

# the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
passwd: files nis
group: files nis


# consult /etc "files" only if nis is down.
#hosts:    nis [NOTFOUND=return] files
hosts:      files nis
ipnodes:    files
# Uncomment the following line and comment out the above to resolve
# both IPv4 and IPv6 addresses from the ipnodes databases. Note that
# IPv4 addresses are searched in all of the ipnodes databases before
# searching the hosts databases. Before turning this option on, consult
# the Network Administration Guide for more details on using IPv6.
#ipnodes:    nis [NOTFOUND=return] files

networks:   nis [NOTFOUND=return] files
protocols:  nis [NOTFOUND=return] files
rpc:        nis [NOTFOUND=return] files
ethers:     nis [NOTFOUND=return] files
netmasks:   nis [NOTFOUND=return] files
bootparams: nis [NOTFOUND=return] files
publickey:  nis [NOTFOUND=return] files

netgroup:   nis

automount:  files nis
aliases:    files nis

# for efficient getservbyname() avoid nis
services:   files nis
sendmailvars:   files
printers:    user files nis

auth_attr:  files nis
prof_attr:  files nis
project:    files nis
##############################################################################



_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to