[nss_ldap/f14/master] - take another stab at implementing a working nss_initgroups_minimum_uid setting, and default it t

Nalin Dahyabhai nalin at fedoraproject.org
Fri Aug 20 19:09:27 UTC 2010


commit 3d060cc7ab5a97d226769f78e4539e4ce34425f4
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Thu Aug 19 19:17:07 2010 -0400

    - take another stab at implementing a working nss_initgroups_minimum_uid
      setting, and default it to 500

 nss_ldap-257-initgroups-minimum_uid.patch |  135 -----------------------------
 nss_ldap.spec                             |    9 ++-
 2 files changed, 7 insertions(+), 137 deletions(-)
---
diff --git a/nss_ldap.spec b/nss_ldap.spec
index 0adb6d3..9d91f9a 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: 5%{?dist}
+Release: 6%{?dist}
 URL: http://www.padl.com/OSS/nss_ldap.html
 License: LGPLv2+
 Group: System Environment/Base
@@ -15,7 +15,6 @@ Source6: version.c
 Source7: dlopen.sh
 Patch6: nss_ldap-265-depth.patch
 Patch8: nss_ldap-254-soname.patch
-Patch11: nss_ldap-257-initgroups-minimum_uid.patch
 Patch15: nss_ldap-257-mozldap.patch
 Patch17: nss_ldap-259-res_init.patch
 Patch21: nss_ldap-264-checkcase.patch
@@ -23,6 +22,7 @@ Patch22: nss_ldap-265-ent_internal.patch
 Patch24: nss_ldap-264-cloexec.patch
 Patch25: nss_ldap-265-local_users.patch
 Patch26: nss_ldap-265-erange.patch
+Patch27: nss_ldap-265-initgroups-minimum_uid.patch
 
 BuildRequires: autoconf, automake, libtool
 BuildRequires: openssl-devel, openssl-static
@@ -52,6 +52,7 @@ cp %{SOURCE5} .
 %patch24 -p1 -b .cloexec
 %patch25 -p1 -b .local_users
 %patch26 -p1 -b .erange
+%patch27 -p1 -b .initgroups-minimum_uid
 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
@@ -148,6 +149,10 @@ fi
 %attr(0600,root,root) %ghost %config(noreplace) /etc/%{name}.secret
 
 %changelog
+* Thu Aug 19 2010 Nalin Dahyabhai <nalin at redhat.com> 265-6
+- take another stab at implementing a working nss_initgroups_minimum_uid
+  setting, and default it to 500
+
 * Thu Jul  8 2010 Nalin Dahyabhai <nalin at redhat.com> 265-5
 - add proposed patch for upstream #421: sometimes errno gets reset before we
   return control to libc


More information about the scm-commits mailing list