]> git.ipfire.org Git - thirdparty/glibc.git/blame - nss/nsswitch.conf
Fix http: URL in 'configure'
[thirdparty/glibc.git] / nss / nsswitch.conf
CommitLineData
4b7c7417 1#
6e953631
UD
2# /etc/nsswitch.conf
3#
4b7c7417
CD
4# An example Name Service Switch config file. This file should be
5# sorted with the most-used services at the beginning.
6e953631 6#
4b7c7417
CD
7# Valid databases are: aliases, ethers, group, gshadow, hosts,
8# initgroups, netgroup, networks, passwd, protocols, publickey,
9# rpc, services, and shadow.
10#
11# Valid service provider entries include (in alphabetical order):
12#
13# compat Use /etc files plus *_compat pseudo-db
14# db Use the pre-processed /var/db files
15# dns Use DNS (Domain Name Service)
16# files Use the local files in /etc
17# hesiod Use Hesiod (DNS) for user lookups
18# nis Use NIS (NIS version 2), also called YP
19# nisplus Use NIS+ (NIS version 3)
20#
21# See `info libc 'NSS Basics'` for more information.
22#
23# Commonly used alternative service providers (may need installation):
24#
25# ldap Use LDAP directory server
26# myhostname Use systemd host names
27# mymachines Use systemd machine names
28# mdns*, mdns*_minimal Use Avahi mDNS/DNS-SD
29# resolve Use systemd resolved resolver
30# sss Use System Security Services Daemon (sssd)
31# systemd Use systemd for dynamic user option
32# winbind Use Samba winbind support
33# wins Use Samba wins support
34# wrapper Use wrapper module for testing
35#
36# Notes:
37#
38# 'sssd' performs its own 'files'-based caching, so it should generally
39# come before 'files'.
40#
41# WARNING: Running nscd with a secondary caching service like sssd may
42# lead to unexpected behaviour, especially with how long
43# entries are cached.
44#
45# Installation instructions:
46#
47# To use 'db', install the appropriate package(s) (provide 'makedb' and
48# libnss_db.so.*), and place the 'db' in front of 'files' for entries
49# you want to be looked up first in the databases, like this:
50#
51# passwd: db files
52# shadow: db files
53# group: db files
6e953631 54
4b7c7417
CD
55# In alphabetical order. Re-order as required to optimize peformance.
56aliases: files
57ethers: files
58group: files
59gshadow: files
60hosts: files dns
61initgroups: files
62netgroup: files
63networks: files dns
64passwd: files
65protocols: files
66publickey: files
67rpc: files
68shadow: files
69services: files