source: server/fedora/config/etc/nsswitch.conf @ 847

Last change on this file since 847 was 751, checked in by andersk, 16 years ago
Configure nsswitch.conf to use nss_nonlocal.
File size: 1.7 KB
RevLine 
[751]1#
2# /etc/nsswitch.conf
3#
4# An example Name Service Switch config file. This file should be
5# sorted with the most-used services at the beginning.
6#
7# The entry '[NOTFOUND=return]' means that the search for an
8# entry should stop if the search in the previous entry turned
9# up nothing. Note that if the search failed due to some other reason
10# (like no NIS server responding) then the search continues with the
11# next entry.
12#
13# Legal entries are:
14#
15#       nisplus or nis+         Use NIS+ (NIS version 3)
16#       nis or yp               Use NIS (NIS version 2), also called YP
17#       dns                     Use DNS (Domain Name Service)
18#       files                   Use the local files
19#       db                      Use the local database (.db) files
20#       compat                  Use NIS on compat mode
21#       hesiod                  Use Hesiod for user lookups
22#       [NOTFOUND=return]       Stop searching if not found so far
23#
24
25# To use db, put the "db" in front of "files" for entries you want to be
26# looked up first in the databases
27#
28# Example:
29#passwd:    db files nisplus nis
30#shadow:    db files nisplus nis
31#group:     db files nisplus nis
32
33passwd:     files nonlocal
34passwd_nonlocal: ldap
35shadow:     files
36group:      files nonlocal
37group_nonlocal: ldap
38
39#hosts:     db files nisplus nis dns
40hosts:      files dns
41
42# Example - obey only what nisplus tells us...
43#services:   nisplus [NOTFOUND=return] files
44#networks:   nisplus [NOTFOUND=return] files
45#protocols:  nisplus [NOTFOUND=return] files
46#rpc:        nisplus [NOTFOUND=return] files
47#ethers:     nisplus [NOTFOUND=return] files
48#netmasks:   nisplus [NOTFOUND=return] files     
49
50bootparams: nisplus [NOTFOUND=return] files
51
52ethers:     files
53netmasks:   files
54networks:   files
55protocols:  files
56rpc:        files
57services:   files
58
59netgroup:   nisplus
60
61publickey:  nisplus
62
63automount:  files nisplus
64aliases:    files nisplus
65
Note: See TracBrowser for help on using the repository browser.