summary refs log tree commit diff
path: root/nis/nss
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-04-02 09:14:48 +0000
committerUlrich Drepper <drepper@redhat.com>2004-04-02 09:14:48 +0000
commit0fce307092e09edb96e0cd69733f1130ca826145 (patch)
tree7e4d85d1dbfceda2b70c50928ee401bada6e8c37 /nis/nss
parent49182069c75056de010504115a25c7cf396c1ae4 (diff)
downloadglibc-0fce307092e09edb96e0cd69733f1130ca826145.tar.gz
glibc-0fce307092e09edb96e0cd69733f1130ca826145.tar.xz
glibc-0fce307092e09edb96e0cd69733f1130ca826145.zip
Add SERVICES_AUTHORITATIVE.
Diffstat (limited to 'nis/nss')
-rw-r--r--nis/nss14
1 files changed, 11 insertions, 3 deletions
diff --git a/nis/nss b/nis/nss
index 338ace50ae..4f65f81120 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