]> git.ipfire.org Git - thirdparty/glibc.git/blame - nss/nsswitch.conf
support: Fix typo in xgetsockname error message
[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
4b7c7417
CD
18#
19# See `info libc 'NSS Basics'` for more information.
20#
21# Commonly used alternative service providers (may need installation):
22#
23# ldap Use LDAP directory server
24# myhostname Use systemd host names
25# mymachines Use systemd machine names
26# mdns*, mdns*_minimal Use Avahi mDNS/DNS-SD
27# resolve Use systemd resolved resolver
28# sss Use System Security Services Daemon (sssd)
29# systemd Use systemd for dynamic user option
30# winbind Use Samba winbind support
31# wins Use Samba wins support
32# wrapper Use wrapper module for testing
33#
34# Notes:
35#
36# 'sssd' performs its own 'files'-based caching, so it should generally
37# come before 'files'.
38#
39# WARNING: Running nscd with a secondary caching service like sssd may
40# lead to unexpected behaviour, especially with how long
41# entries are cached.
42#
43# Installation instructions:
44#
45# To use 'db', install the appropriate package(s) (provide 'makedb' and
46# libnss_db.so.*), and place the 'db' in front of 'files' for entries
47# you want to be looked up first in the databases, like this:
48#
49# passwd: db files
50# shadow: db files
51# group: db files
6e953631 52
7f0d9e61 53# In alphabetical order. Re-order as required to optimize performance.
4b7c7417
CD
54aliases: files
55ethers: files
56group: files
57gshadow: files
58hosts: files dns
eed1f6fc
CD
59# Allow initgroups to default to the setting for group.
60# initgroups: files
4b7c7417
CD
61netgroup: files
62networks: files dns
63passwd: files
64protocols: files
65publickey: files
66rpc: files
67shadow: files
68services: files