1# CDDL HEADER START 2# 3# The contents of this file are subject to the terms of the 4# Common Development and Distribution License, Version 1.0 only 5# (the "License"). You may not use this file except in compliance 6# with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 22# Use is subject to license terms. 23# 24# ident "%Z%%M% %I% %E% SMI" 25 26# 27# /etc/nsswitch.conf: 28# 29# "hosts:" and "services:" in this file are used only if the 30# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. 31 32# NIS service requires that svc:/network/nis/client:default be enabled 33# and online. 34 35# the following two lines obviate the "+" entry in /etc/passwd and /etc/group. 36passwd: files nis 37group: files nis 38 39# consult /etc "files" only if nis is down. 40hosts: nis [NOTFOUND=return] files 41 42# Note that IPv4 addresses are searched for in all of the ipnodes databases 43# before searching the hosts databases. 44ipnodes: nis [NOTFOUND=return] files 45 46networks: nis [NOTFOUND=return] files 47protocols: nis [NOTFOUND=return] files 48rpc: nis [NOTFOUND=return] files 49ethers: nis [NOTFOUND=return] files 50netmasks: nis [NOTFOUND=return] files 51bootparams: nis [NOTFOUND=return] files 52publickey: nis [NOTFOUND=return] files 53 54netgroup: nis 55 56automount: files nis 57aliases: files nis 58 59# for efficient getservbyname() avoid nis 60services: files nis 61 62printers: user files nis 63 64auth_attr: files nis 65prof_attr: files nis 66project: files nis 67