From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marko Myllynen Subject: nsswitch.conf.5: document group merging Date: Mon, 2 May 2016 14:03:59 +0300 Message-ID: <5727341F.9000204@redhat.com> Reply-To: Marko Myllynen Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Michael Kerrisk (man-pages)" , Stephen Gallagher Cc: linux-man List-Id: linux-man@vger.kernel.org Hi, Here's a patch to document the recently merged glibc group merge support. https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ced8f8933673f4efda1d666d26a1a949602035ed https://sourceware.org/glibc/wiki/Proposals/GroupMerging --- man5/nsswitch.conf.5 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/man5/nsswitch.conf.5 b/man5/nsswitch.conf.5 index b99f9fd..8b62796 100644 --- a/man5/nsswitch.conf.5 +++ b/man5/nsswitch.conf.5 @@ -204,6 +204,8 @@ where .B return | .B continue +| +.B merge .RE .LP The ! negates the test, matching all possible results except the @@ -257,6 +259,16 @@ without affecting the search result. .TP .B continue Call the next lookup function. +.TP +.B merge +.I [SUCCESS=merge] +is used between two database entries. +When a group is located in the first of the two group entries, +processing will continue on to the next one. +If the group is also found in the next entry (and the group name and GID +are an exact match), the member list of the second entry will be added +to the group object to be returned. +Available since glibc 2.24. .RE .SS Compatibility mode (compat) The NSS "compat" service is similar to "files" except that it Thanks, -- Marko Myllynen -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html