[PATCH] Move nss_compat from nis to nss subdir and install it unconditionally.
Andreas Schwab
schwab@suse.de
Wed Oct 4 16:01:00 GMT 2017
On Okt 04 2017, Zack Weinberg <zackw@panix.com> wrote:
> It now occurs to me that another test might be a good idea: configure
> a system with at least one local non-root user and also at least one
> +user or +@netgroup line in /etc/passwd, and "passwd: compat" in
> /etc/nsswitch.conf, but *don't* install libnss_nis or any NIS
> configuration; then make sure that all of the local users can log in
> even though libnss_nis is unavailable (that is, _compat only tries to
> use _nis if it doesn't find a local match for the query),
Check.
> that the users included from NIS *cannot* log in (fail closed),
Check.
> and that the failure to log in produces an error message that will
> point the sysadmin at least vaguely in the right direction.
This requires more work because __nss_lookup_function doesn't
distinguish a missing library from a library that does not implement the
function.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list