public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nss/25835] New: nscd: Use the same fallbacks as non-nscd code for caching initgroups and groups data.
@ 2020-04-16 12:42 carlos at redhat dot com
  2020-04-16 12:42 ` [Bug nss/25835] " carlos at redhat dot com
  2020-04-16 12:44 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: carlos at redhat dot com @ 2020-04-16 12:42 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=25835

            Bug ID: 25835
           Summary: nscd: Use the same fallbacks as non-nscd code for
                    caching initgroups and groups data.
           Product: glibc
           Version: 2.32
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nss
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
  Target Milestone: ---

When runnning nscd the daemon does not use initgroups like it should:

 90   if (group_database == NULL)
 91     no_more = __nss_database_lookup2 ("group", NULL, DEFAULT_CONFIG,
 92                                       &group_database);
 93   else
 94     no_more = 0;

We query group directly, but should use the same fallback logic as the non-nscd
code in order to bring parity with the lookup results.

See the RHEL bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1363924

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nss/25835] nscd: Use the same fallbacks as non-nscd code for caching initgroups and groups data.
  2020-04-16 12:42 [Bug nss/25835] New: nscd: Use the same fallbacks as non-nscd code for caching initgroups and groups data carlos at redhat dot com
@ 2020-04-16 12:42 ` carlos at redhat dot com
  2020-04-16 12:44 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: carlos at redhat dot com @ 2020-04-16 12:42 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=25835

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.redhat.com
                   |                            |/show_bug.cgi?id=1363924

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug nss/25835] nscd: Use the same fallbacks as non-nscd code for caching initgroups and groups data.
  2020-04-16 12:42 [Bug nss/25835] New: nscd: Use the same fallbacks as non-nscd code for caching initgroups and groups data carlos at redhat dot com
  2020-04-16 12:42 ` [Bug nss/25835] " carlos at redhat dot com
@ 2020-04-16 12:44 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2020-04-16 12:44 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=25835

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-
                 CC|                            |fweimer at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-16 12:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-16 12:42 [Bug nss/25835] New: nscd: Use the same fallbacks as non-nscd code for caching initgroups and groups data carlos at redhat dot com
2020-04-16 12:42 ` [Bug nss/25835] " carlos at redhat dot com
2020-04-16 12:44 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).