1 #
2 # Please refer to nsswitch.conf(5) for more information on this file.
3 #
4 # This is the Name Service Switch configuration file. This file should
5 # be sorted with the most-used databases at the beginning.
6 #
7 # Specifying '[NOTFOUND=return]' means that the search for an entry
8 # should stop if the search with the previous service turned up nothing.
9 # Note that if the search failed due to some other reason (like no NIS
10 # server responding) then the search continues with the next service.
11 #
12 # Legal name services are:
13 #
14 # files Use local files
15 # tcb Use local tcb shadow files, see tcb(5)
16 # db Use local database files under /var/db
17 # nis or yp Use NIS (NIS version 2), also called YP
18 # nisplus or nis+ Use NIS+ (NIS version 3)
19 # dns Use DNS (Domain Name Service)
20 # compat Use NIS in compatibility mode
21 # hesiod Use Hesiod for user lookups
22 # [NOTFOUND=return] Stop searching if not found so far
23 #
25 passwd: files ldap
26 shadow: tcb ldap
27 group: files ldap
29 hosts: files nisplus nis dns
31 # To use db, put the "db" in front of "files" for things you want to be
32 # looked up first in the db files.
33 #
34 #passwd: db files nisplus nis
35 #shadow: db tcb files nisplus nis
36 #group: db files nisplus nis
37 #
38 #hosts: db files nisplus nis dns
40 ethers: files
41 netmasks: files
42 networks: files
43 protocols: files
44 rpc: files
45 services: files
47 # Example - obey only what nisplus tells us...
48 #services: nisplus [NOTFOUND=return] files
49 #networks: nisplus [NOTFOUND=return] files
50 #protocols: nisplus [NOTFOUND=return] files
51 #rpc: nisplus [NOTFOUND=return] files
52 #ethers: nisplus [NOTFOUND=return] files
53 #netmasks: nisplus [NOTFOUND=return] files
55 bootparams: nisplus [NOTFOUND=return] files
57 netgroup: nisplus
59 publickey: nisplus
61 automount: files nisplus
62 aliases: files nisplus