[nss_ldap] - tweak setnetgrent() so that it also doesn't succeed in conditions when the server's unavailable

Nalin Dahyabhai nalin at fedoraproject.org
Wed Mar 16 17:28:08 UTC 2011


commit 00b12981f7e813fcdb50c44547df12fc75e91754
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date:   Wed Mar 16 13:27:34 2011 -0400

    - tweak setnetgrent() so that it also doesn't succeed in conditions when
      the server's unavailable (#664609, upstream #430, i.e., #374 revisited)

 nss_ldap.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/nss_ldap.spec b/nss_ldap.spec
index 88adfd4..1b0b435 100644
--- a/nss_ldap.spec
+++ b/nss_ldap.spec
@@ -3,7 +3,7 @@
 Summary: NSS library and PAM module for LDAP
 Name: nss_ldap
 Version: 265
-Release: 8%{?dist}
+Release: 9%{?dist}
 URL: http://www.padl.com/OSS/nss_ldap.html
 License: LGPLv2+
 Group: System Environment/Base
@@ -25,6 +25,7 @@ Patch26: nss_ldap-265-erange.patch
 Patch27: nss_ldap-265-initgroups-minimum_uid.patch
 Patch28: nss_ldap-265-fix-uninit.patch
 Patch29: nss_ldap-265-padl-bug-418.patch
+Patch30: nss_ldap-265-setnetgrent.patch
 
 BuildRequires: autoconf, automake, libtool
 BuildRequires: cyrus-sasl-devel >= 2.1
@@ -56,6 +57,7 @@ cp %{SOURCE5} .
 %patch27 -p1 -b .initgroups-minimum_uid
 %patch28 -p1 -b .fix-uninit
 %patch29 -p1 -b .padl-bug-418
+%patch30 -p1 -b .setnetgrent
 sed -i -e 's,^ldap.conf$,%{name}.conf,g' *.5
 sed -i -e 's,^/etc/ldap\.,/etc/%{name}.,g' *.5
 sed -i -e 's,ldap.secret,%{name}.secret,g' *.5
@@ -149,6 +151,10 @@ fi
 %attr(0600,root,root) %ghost %config(noreplace) /etc/%{name}.secret
 
 %changelog
+* Wed Mar 16 2011 Nalin Dahyabhai <nalin at redhat.com> 265-9
+- tweak setnetgrent() so that it also doesn't succeed in conditions when
+  the server's unavailable (#664609, upstream #430, i.e., #374 revisited)
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 265-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list