Blame SOURCES/glibc-fedora-nis-rh188246.patch

50f89d
Short description: Fedora-specific enabling batch read in NSS.
50f89d
Author(s): Fedora glibc team <glibc@lists.fedoraproject.org>
50f89d
Origin: PATCH
50f89d
Bug-RHEL: #188246
50f89d
Upstream status: not-submitted
50f89d
50f89d
Enable batch read in NSS. It's not clear if this is always a win or
50f89d
just a win for NIS+, this needs to be analyzed and sent upstream or
50f89d
removed.
50f89d
50f89d
From baba5d9461d4e8a581ac26fe4412ad783ffc73e7 Mon Sep 17 00:00:00 2001
50f89d
From: Jakub Jelinek <jakub@redhat.com>
50f89d
Date: Mon, 1 May 2006 08:02:53 +0000
50f89d
Subject: [PATCH] Enable SETENT_BATCH_READ nis/nss option by default
50f89d
50f89d
* Mon May  1 2006 Jakub Jelinek <jakub@redhat.com> 2.4.90-4
50f89d
- SETENT_BATCH_READ /etc/default/nss option for speeding up
50f89d
  some usages of NIS+ (#188246)
50f89d
50f89d
diff --git a/nis/nss b/nis/nss
50f89d
--- a/nis/nss
50f89d
+++ b/nis/nss
50f89d
@@ -25,7 +25,7 @@
50f89d
 #  memory with every getXXent() call.  Otherwise each getXXent() call
50f89d
 #  might result into a network communication with the server to get
50f89d
 #  the next entry.
50f89d
-#SETENT_BATCH_READ=TRUE
50f89d
+SETENT_BATCH_READ=TRUE
50f89d
 #
50f89d
 # ADJUNCT_AS_SHADOW
50f89d
 #  If set to TRUE, the passwd routines in the NIS NSS module will not