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