include initgroups database in the nsswitch.conf(5) man page
This commit is contained in:
Peter Schiffer 2012-09-12 13:53:54 +02:00
parent 9539c5865e
commit 9869aa06eb
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,26 @@
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.

View File

@ -46,6 +46,8 @@ Patch46: man-pages-3.35-printf.patch
Patch47: man-pages-3.42-nscd-conf.patch
# resolves: #837090
Patch48: man-pages-3.42-inet.patch
# resolves: #751429, #786684
Patch49: man-pages-3.42-nsswitch-conf.patch
Autoreq: false
@ -76,6 +78,7 @@ Documentation Project (LDP).
%patch46 -p1
%patch47 -p1
%patch48 -p1
%patch49 -p1
## Remove man pages we are not going to use ##
@ -142,6 +145,8 @@ cd ..
- cleaned .spec file, fixed minor encoding issue
- resolves: #837090
updated example on inet(3) man page - use fprintf(stderr,..) instead of perror
- resolves: #751429
include initgroups database in the nsswitch.conf(5) man page
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.41-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild