nss: Make nsswitch.conf more distribution friendly

System Internals / glibc - Carlos O'Donell [redhat.com] - 19 August 2019 13:56 EDT

The current default nsswitch.conf file provided by glibc is not very distribution friendly. The file contains some minimal directives that no real distribution uses. This update aims to provide a rich set of comments which are useful for all distributions, and a broader set of service defines which should work for all distributions.

Tested defaults on x86_64 and they work. The nsswitch.conf file more closely matches what we have in Fedora now, and I'll adjust Fedora to use this version with minor changes to enable Fedora-specific service providers.

v2
- Add missing databases to manual.
- Add link to manual from default nsswitch.conf.
- Sort nsswitch.conf according to most used database first.

v3- Only mention implemented services in 'NSS Basics.'- Mention 'automount' in 'Services in the NSS configuration.'
- Sort services in alphabetical order.

v4
- Project name is 'Samba'.

v5
- Fix typo in manual/nss.texi.

v6
- Fix another typo in manual/nss.texi. Ran spell checker this time.

4b7c74179c nss: Make nsswitch.conf more distribution friendly.
ChangeLog | 6 +++++
manual/nss.texi | 24 +++++++++++++----
nss/nsswitch.conf | 81 ++++++++++++++++++++++++++++++++++++++++++++-----------
3 files changed, 90 insertions(+), 21 deletions(-)

Upstream: sourceware.org


  • Share