This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Return proper status from _nss_nis_initgroups_dyn (bug 20262)
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 30 Jun 2016 13:48:35 +0200
- Subject: Re: [PATCH] Return proper status from _nss_nis_initgroups_dyn (bug 20262)
- Authentication-results: sourceware.org; auth=none
- References: <54EF320A dot 90409 at redhat dot com> <mvmr3bxw7m8 dot fsf at hawking dot suse dot de> <2827f318-c970-7108-1ecd-c2a73aaa66e1 at redhat dot com> <mvm1t3jm774 dot fsf at hawking dot suse dot de> <23b99ad9-61c4-3e8c-4f9a-9276ebd86ff0 at redhat dot com> <mvm37nxjsx5 dot fsf at hawking dot suse dot de> <11496925-31be-2c7f-a792-2fa0513d7447 at redhat dot com> <mvmy45pidgq dot fsf at hawking dot suse dot de> <20c1b235-13e2-ce48-2852-04b891562346 at redhat dot com> <mvmlh1n54y3 dot fsf at hawking dot suse dot de> <0df3bf20-e13a-6567-d34a-7cdf4424d7bc at redhat dot com>
Florian Weimer <fweimer@redhat.com> writes:
> On 06/30/2016 12:47 PM, Andreas Schwab wrote:
>> Florian Weimer <fweimer@redhat.com> writes:
>>
>>> The broken status handling only affects this fallback code (group
>>> enumeration). Based on how this is called, I do not see any other forms
>>> of fallback.
>>
>> See nss_compat/compat-initgroups.c.
>
> Thanks. Is this just a performance issue, or can it alter results
> returned to the application (say if the NIS database and local files are
> inconsistent)?
I'm seeing nscd failing to return the extra groups.
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."