man-pages/man-pages-3.42-nsswitch-conf.patch
Peter Schiffer 9869aa06eb - resolves: #751429
include initgroups database in the nsswitch.conf(5) man page
2012-09-12 13:53:54 +02:00

27 lines
966 B
Diff

diff -ur man-pages-3.42.orig/man5/nsswitch.conf.5 man-pages-3.42/man5/nsswitch.conf.5
--- man-pages-3.42.orig/man5/nsswitch.conf.5 2012-09-12 13:48:59.000000000 +0200
+++ man-pages-3.42/man5/nsswitch.conf.5 2012-09-12 13:49:31.884553646 +0200
@@ -64,6 +64,11 @@
.BR gethostbyname (3)
and related functions.
.TP
+.B initgroups
+Supplementary group access list, used by
+.BR getgrouplist (3)
+function.
+.TP
.B netgroup
Network-wide list of hosts and users, used for access rules.
C libraries before glibc 2.1 supported netgroups only over NIS.
@@ -245,6 +250,10 @@
.B return
Return a result now.
Do not call any further lookup functions.
+However, for compatibility reasons, if this is the selected action
+for the `group' database and the `notfound' status,
+and the configuration file does not contain the `initgroups' line,
+the next lookup function is always called, without affecting the search result.
.TP
.B continue
Call the next lookup function.