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

Last change on this file since 915 was 915, checked in by quentin, 16 years ago
Support mDNS on scripts
File size: 1.9 KB
Line 
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
33# With nss_nonlocal:
34passwd:     files nonlocal
35passwd_nonlocal: ldap
36shadow:     files
37group:      files nonlocal
38group_nonlocal: ldap
39
40## Without nss_nonlocal:
41#passwd:          files ldap
42#group:   files ldap
43#shadow:     files
44#passwd: files ldap
45#group: files ldap
46
47#hosts:     db files nisplus nis dns
48hosts:      files mdns4_minimal [NOTFOUND=return] dns
49#hosts:      files mdns4_minimal [NOTFOUND=return] dns
50
51# Example - obey only what nisplus tells us...
52#services:   nisplus [NOTFOUND=return] files
53#networks:   nisplus [NOTFOUND=return] files
54#protocols:  nisplus [NOTFOUND=return] files
55#rpc:        nisplus [NOTFOUND=return] files
56#ethers:     nisplus [NOTFOUND=return] files
57#netmasks:   nisplus [NOTFOUND=return] files     
58
59bootparams: nisplus [NOTFOUND=return] files
60
61ethers:     files
62netmasks:   files
63networks:   files
64protocols:  files
65rpc:        files
66services:   files
67
68netgroup:   nisplus
69
70publickey:  nisplus
71
72automount:  files nisplus
73aliases:    files nisplus
74
Note: See TracBrowser for help on using the repository browser.