Question on /etc/nsswitch.conf
Florian Weimer
fweimer@redhat.com
Mon Oct 2 12:39:00 GMT 2017
On 10/02/2017 02:30 PM, Andreas Schwab wrote:
> On Sep 28 2017, Zack Weinberg <zackw@panix.com> wrote:
>
>> OK, so pull libnss_compat out of the nis directory, build and install
>> it unconditionally (but still leave it out of the default NSS rules)
>> and make sure it throws a sensible error if it encounters a forwarding
>> directive and the forwarded-to module isn't available?
>
> The only problem is that compat-pwd and compat-spwd need to refer to
> yp_get_default_domain, for netgroup matches ([+-]@netgroup).
Could the code call uname directly instead? As far as I can tell,
yp_get_default_domain is just a thin wrapper around getdomainname, which
is again a wrapper around uname.
Thanks,
Florian
More information about the Libc-alpha
mailing list