setup/config/nsswitch.conf

51 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

2011-04-26 13:22:53 +02:00
# nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# ldap Use LDAP (only if nss_ldap is installed)
# [NOTFOUND=return] Stop searching if not found so far
#
# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files ldap
#shadow: db files ldap
#group: db files ldap
#
# Example - obey only what ldap tells us...
#protocols: ldap [NOTFOUND=return] files
#services: ldap [NOTFOUND=return] files
#ethers: ldap [NOTFOUND=return] files
#rpc: ldap [NOTFOUND=return] files
#networks: ldap [NOTFOUND=return] files
passwd: files
group: files
shadow: files
publickey: files
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: db files