From a85c3c8155627d357a687ad589e8797659e94de9 Mon Sep 17 00:00:00 2001 From: "Andreas K. Hüttel" Date: Fri, 23 Jul 2021 01:04:54 +0200 Subject: Copy nsswitch.conf from glibc gentoo/2.33 branch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas K. Hüttel --- gentoo-config/nsswitch.conf | 75 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 gentoo-config/nsswitch.conf diff --git a/gentoo-config/nsswitch.conf b/gentoo-config/nsswitch.conf new file mode 100644 index 0000000..17aa6db --- /dev/null +++ b/gentoo-config/nsswitch.conf @@ -0,0 +1,75 @@ +# +# /etc/nsswitch.conf +# +# An example Name Service Switch config file. This file should be +# sorted with the most-used services at the beginning. +# +# Valid databases are: aliases, ethers, group, gshadow, hosts, +# initgroups, netgroup, networks, passwd, protocols, publickey, +# rpc, services, and shadow. +# +# Valid service provider entries include (in alphabetical order): +# +# compat Use /etc files plus *_compat pseudo-db +# db Use the pre-processed /var/db files +# dns Use DNS (Domain Name Service) +# files Use the local files in /etc +# hesiod Use Hesiod (DNS) for user lookups +# +# See `info libc 'NSS Basics'` for more information. +# +# Commonly used alternative service providers (may need installation): +# +# ldap Use LDAP directory server +# myhostname Use systemd host names +# mymachines Use systemd machine names +# mdns*, mdns*_minimal Use Avahi mDNS/DNS-SD +# resolve Use systemd resolved resolver +# sss Use System Security Services Daemon (sssd) +# systemd Use systemd for dynamic user option +# winbind Use Samba winbind support +# wins Use Samba wins support +# wrapper Use wrapper module for testing +# +# Notes: +# +# 'sssd' performs its own 'files'-based caching, so it should generally +# come before 'files'. +# +# WARNING: Running nscd with a secondary caching service like sssd may +# lead to unexpected behaviour, especially with how long +# entries are cached. +# +# Installation instructions: +# +# To use 'db', install the appropriate package(s) (provide 'makedb' and +# libnss_db.so.*), and place the 'db' in front of 'files' for entries +# you want to be looked up first in the databases, like this: +# +# passwd: db files +# shadow: db files +# group: db files + +# If you encounter slowdowns of file operations and do not use +# systemd-generated users and groups, you can disable the corresponding +# lookups by replacing the group and passwd lines with, e.g., +# group: files +# passwd: files +# See also https://bugs.gentoo.org/773436 + +# In alphabetical order. Re-order as required to optimize peformance. +aliases: files +ethers: files +group: files [SUCCESS=merge] systemd +gshadow: files systemd +hosts: files dns +# Allow initgroups to default to the setting for group. +# initgroups: files +netgroup: files +networks: files dns +passwd: files systemd +protocols: files +publickey: files +rpc: files +shadow: files systemd +services: files -- cgit v1.2.3-65-gdbad