2 ##############################################################################
4 # File: /etc/nsswitch.conf
5 # Description: Standard nsswitch.conf file for infrastructure machines.
7 # file describes how this system obtains certain configuration
8 # files such as passwd, group, etc. It says whether to look in
9 # NIS, local files, etc.
10 # Author: Andrew@DeFaria.com
11 # Language: nsswitch.conf syntax
13 # (c) Copyright 1999, Andrew DeFaria, all rights reserved.
16 ###############################################################################
18 # Get password information in "compat" mode. This means that special NIS
20 # such as +@<netgroup>, etc are paid attention to in the local password
24 # Same "compat" mode for group.
27 # Hosts come from dns first, nis second and finally local files. The
29 # entry say to treat NIS as the authority and if it isn't found in NIS then
30 # to return. However if NIS is down (AKA UNAVAILABLE=continue) then we go
31 # onward to files (See nsswitch.conf(4)).
33 # Due to problems with 11.x sendmail the nis entry has been removed. Getting
34 # hosts from NIS was never that reliable because we don't really keep the
36 # hosts map up to date.
38 # WARNING: This means is DNS is down then most likely the network is down
40 # The practice of creating an /etc/hosts file that contains all the machines
41 # in this subnet, intended to allow the subnet to run when DNS is down, has
42 # been discontinued. Therefore if DNS is down most likely no machine will be
43 # able to talk to any other machine except itself!
46 # The following maps are searched for in NIS first and use the same NOTFOUND
48 networks: nis [NOTFOUND=return] files
49 protocols: nis [NOTFOUND=return] files
50 netgroup: nis [NOTFOUND=return] files
51 publickey: nis [NOTFOUND=return] files
52 rpc: nis [NOTFOUND=return] files
54 # The following maps are searched for files first and then NIS
55 # Note: Contrary to the man page, apparently [NOTFOUND=continue] is required
56 automount: files [NOTFOUND=continue] nis
57 services: files [NOTFOUND=continue] nis
59 # Since we do not use NIS for mail aliases only search local files