From: Ulrich Drepper Date: Fri, 2 Apr 2004 09:14:48 +0000 (+0000) Subject: Add SERVICES_AUTHORITATIVE. X-Git-Tag: upstream/2.20~11045 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fce307092e09edb96e0cd69733f1130ca826145;p=platform%2Fupstream%2Flinaro-glibc.git Add SERVICES_AUTHORITATIVE. --- diff --git a/nis/nss b/nis/nss index 338ace5..4f65f81 100644 --- a/nis/nss +++ b/nis/nss @@ -1,12 +1,20 @@ # /etc/default/nss # This file can theoretically contain a bunch of customization variables -# for Name Service Switch in the GNU C library. For now there is only one -# variable: +# for Name Service Switch in the GNU C library. For now there are only two +# variables: # # NETID_AUTHORITATIVE -# If set to TRUE the initgroups() function will accept the information +# If set to TRUE, the initgroups() function will accept the information # from the netid.byname NIS map as authoritative. This can speed up the # function significantly if the group.byname map is large. The content # of the netid.byname map is used AS IS. The system administrator has # to make sure it is correctly generated. #NETID_AUTHORITATIVE=TRUE +# +# SERVICES_AUTHORITATIVE +# If set to TRUE, the getservbyname{,_r}() function will assume +# services.byservicename NIS map exists and is authoritative, particularly +# that it contains both keys with /proto and without /proto for both +# primary service names and service aliases. The system administrator +# has to make sure it is correctly generated. +#SERVICES_AUTHORITATIVE=TRUE