drop an obsolete local patch
drop local patch to make the client flush some more read buffers
This commit is contained in:
parent
43df9235ee
commit
807d19ed0c
@ -1,20 +0,0 @@
|
|||||||
Try to reduce EPIPE errors in nslcd by reading any pending data before closing
|
|
||||||
our connection to the daemon, in the cases where we weren't already doing that.
|
|
||||||
--- nss-pam-ldapd-0.8.12/nss/common.h
|
|
||||||
+++ nss-pam-ldapd-0.8.12/nss/common.h
|
|
||||||
@@ -148,6 +148,7 @@
|
|
||||||
NSS_AVAILCHECK; \
|
|
||||||
if (fp!=NULL) \
|
|
||||||
{ \
|
|
||||||
+ (void)tio_skipall(fp); \
|
|
||||||
(void)tio_close(fp); \
|
|
||||||
fp=NULL; \
|
|
||||||
} \
|
|
||||||
@@ -182,6 +183,7 @@
|
|
||||||
/* reset failed, we close and give up with a permanent error \
|
|
||||||
because we cannot retry just the getent() call because it \
|
|
||||||
may not be only the first entry that failed */ \
|
|
||||||
+ tio_skipall(fp); \
|
|
||||||
tio_close(fp); \
|
|
||||||
fp=NULL; \
|
|
||||||
*errnop=EINVAL; \
|
|
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
Name: nss-pam-ldapd
|
Name: nss-pam-ldapd
|
||||||
Version: 0.8.12
|
Version: 0.8.12
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: An nsswitch module which uses directory servers
|
Summary: An nsswitch module which uses directory servers
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -46,7 +46,6 @@ Source3: nslcd.tmpfiles
|
|||||||
Source4: nslcd.service
|
Source4: nslcd.service
|
||||||
Patch1: nss-pam-ldapd-0.8.12-validname.patch
|
Patch1: nss-pam-ldapd-0.8.12-validname.patch
|
||||||
Patch3: nss-pam-ldapd-0.8.12-uid-overflow.patch
|
Patch3: nss-pam-ldapd-0.8.12-uid-overflow.patch
|
||||||
Patch4: nss-pam-ldapd-0.8.12-epipe.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: openldap-devel, krb5-devel
|
BuildRequires: openldap-devel, krb5-devel
|
||||||
BuildRequires: autoconf, automake
|
BuildRequires: autoconf, automake
|
||||||
@ -95,7 +94,6 @@ nsswitch module.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p0 -b .validname
|
%patch1 -p0 -b .validname
|
||||||
%patch3 -p1 -b .overflow
|
%patch3 -p1 -b .overflow
|
||||||
%patch4 -p1 -b .epipe
|
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -321,6 +319,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 18 2013 Nalin Dahyabhai <nalin@redhat.com> 0.8.12-2
|
||||||
|
- drop local patch to make the client flush some more read buffers
|
||||||
|
|
||||||
* Fri Jan 18 2013 Nalin Dahyabhai <nalin@redhat.com> 0.8.12-1
|
* Fri Jan 18 2013 Nalin Dahyabhai <nalin@redhat.com> 0.8.12-1
|
||||||
- update to 0.8.12 (#846793)
|
- update to 0.8.12 (#846793)
|
||||||
- make building pam_ldap conditional on the targeted release
|
- make building pam_ldap conditional on the targeted release
|
||||||
|
Loading…
Reference in New Issue
Block a user