mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 17:11:06 +00:00
ae7a94e5e3
this means that *always* libnsl is only built as shared library for backward compatibility and the NSS modules libnss_nis and libnss_nisplus are not built at all, libnsl's headers aren't installed. This compatibility is kept only for architectures and ABIs that have been added in or before version 2.28. Replacement implementations based on TIRPC, which additionally support IPv6, are available from <https://github.com/thkukuk/>. This change does not affect libnss_compat which does not depended on libnsl since 2.27 and thus can be used without NIS. libnsl code depends on Sun RPC, e.g. on --enable-obsolete-rpc (installed libnsl headers use installed Sun RPC headers), which will be removed in the following commit.
69 lines
2.0 KiB
Plaintext
69 lines
2.0 KiB
Plaintext
#
|
|
# /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
|
|
|
|
# In alphabetical order. Re-order as required to optimize peformance.
|
|
aliases: files
|
|
ethers: files
|
|
group: files
|
|
gshadow: files
|
|
hosts: files dns
|
|
# Allow initgroups to default to the setting for group.
|
|
# initgroups: files
|
|
netgroup: files
|
|
networks: files dns
|
|
passwd: files
|
|
protocols: files
|
|
publickey: files
|
|
rpc: files
|
|
shadow: files
|
|
services: files
|