Add SERVICES_AUTHORITATIVE.

This commit is contained in:
Ulrich Drepper 2004-04-02 09:14:48 +00:00
parent 49182069c7
commit 0fce307092

14
nis/nss
View file

@ -1,12 +1,20 @@
# /etc/default/nss # /etc/default/nss
# This file can theoretically contain a bunch of customization variables # 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 # for Name Service Switch in the GNU C library. For now there are only two
# variable: # variables:
# #
# NETID_AUTHORITATIVE # 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 # from the netid.byname NIS map as authoritative. This can speed up the
# function significantly if the group.byname map is large. The content # function significantly if the group.byname map is large. The content
# of the netid.byname map is used AS IS. The system administrator has # of the netid.byname map is used AS IS. The system administrator has
# to make sure it is correctly generated. # to make sure it is correctly generated.
#NETID_AUTHORITATIVE=TRUE #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