forked from jengelh/openldap2
This commit is contained in:
parent
dc736f58d9
commit
001952a0de
13
libldap-pagedresults.dif
Normal file
13
libldap-pagedresults.dif
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: openldap-2.4.7/libraries/libldap/pagectrl.c
|
||||||
|
===================================================================
|
||||||
|
--- openldap-2.4.7.orig/libraries/libldap/pagectrl.c
|
||||||
|
+++ openldap-2.4.7/libraries/libldap/pagectrl.c
|
||||||
|
@@ -256,7 +256,7 @@ ldap_parse_page_control(
|
||||||
|
|
||||||
|
ld->ld_errno = ldap_parse_pageresponse_control( ld, c, countp, &cookie );
|
||||||
|
if ( ld->ld_errno == LDAP_SUCCESS ) {
|
||||||
|
- *cookiep = LDAP_MALLOC( sizeof( struct berval * ) );
|
||||||
|
+ *cookiep = LDAP_MALLOC( sizeof( struct berval ) );
|
||||||
|
if ( *cookiep == NULL ) {
|
||||||
|
ld->ld_errno = LDAP_NO_MEMORY;
|
||||||
|
} else {
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 9 13:29:33 CET 2008 - rhafer@suse.de
|
||||||
|
|
||||||
|
- Fixed allocation for paged results cookie (Bug #352255, ITS#5315)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 14 13:53:33 CET 2007 - rhafer@suse.de
|
Fri Dec 14 13:53:33 CET 2007 - rhafer@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openldap2-client (Version 2.4.7)
|
# spec file for package openldap2-client (Version 2.4.7)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -28,7 +28,7 @@ Summary: OpenLDAP2 Client Utilities
|
|||||||
%endif
|
%endif
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.4.7
|
Version: 2.4.7
|
||||||
Release: 2
|
Release: 6
|
||||||
Source: openldap-%{version}.tar.bz2
|
Source: openldap-%{version}.tar.bz2
|
||||||
Source1: openldap-rc.tgz
|
Source1: openldap-rc.tgz
|
||||||
Source2: addonschema.tar.gz
|
Source2: addonschema.tar.gz
|
||||||
@ -43,6 +43,7 @@ Patch5: openldap-ntlm.diff
|
|||||||
Patch6: libldap-gethostbyname_r.dif
|
Patch6: libldap-gethostbyname_r.dif
|
||||||
Patch7: pie-compile.dif
|
Patch7: pie-compile.dif
|
||||||
Patch8: slapd_getaddrinfo_dupl.dif
|
Patch8: slapd_getaddrinfo_dupl.dif
|
||||||
|
Patch9: libldap-pagedresults.dif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -117,6 +118,7 @@ Authors:
|
|||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
|
%patch9 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config:%{suse_update_config -f build}}
|
%{?suse_update_config:%{suse_update_config -f build}}
|
||||||
@ -346,6 +348,8 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 09 2008 - rhafer@suse.de
|
||||||
|
- Fixed allocation for paged results cookie (Bug #352255, ITS#5315)
|
||||||
* Fri Dec 14 2007 - rhafer@suse.de
|
* Fri Dec 14 2007 - rhafer@suse.de
|
||||||
- Update to Version 2.4.7. Most important changes:
|
- Update to Version 2.4.7. Most important changes:
|
||||||
* Added slapd ordered indexing of integer attributes (ITS#5239)
|
* Added slapd ordered indexing of integer attributes (ITS#5239)
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 9 13:29:33 CET 2008 - rhafer@suse.de
|
||||||
|
|
||||||
|
- Fixed allocation for paged results cookie (Bug #352255, ITS#5315)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 14 13:53:33 CET 2007 - rhafer@suse.de
|
Fri Dec 14 13:53:33 CET 2007 - rhafer@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openldap2 (Version 2.4.7)
|
# spec file for package openldap2 (Version 2.4.7)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
# package are under the same license as the package itself.
|
# package are under the same license as the package itself.
|
||||||
#
|
#
|
||||||
@ -28,7 +28,7 @@ Summary: The New OpenLDAP Server (LDAPv3)
|
|||||||
%endif
|
%endif
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.4.7
|
Version: 2.4.7
|
||||||
Release: 2
|
Release: 6
|
||||||
Source: openldap-%{version}.tar.bz2
|
Source: openldap-%{version}.tar.bz2
|
||||||
Source1: openldap-rc.tgz
|
Source1: openldap-rc.tgz
|
||||||
Source2: addonschema.tar.gz
|
Source2: addonschema.tar.gz
|
||||||
@ -43,6 +43,7 @@ Patch5: openldap-ntlm.diff
|
|||||||
Patch6: libldap-gethostbyname_r.dif
|
Patch6: libldap-gethostbyname_r.dif
|
||||||
Patch7: pie-compile.dif
|
Patch7: pie-compile.dif
|
||||||
Patch8: slapd_getaddrinfo_dupl.dif
|
Patch8: slapd_getaddrinfo_dupl.dif
|
||||||
|
Patch9: libldap-pagedresults.dif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -120,6 +121,7 @@ Authors:
|
|||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
|
%patch9 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config:%{suse_update_config -f build}}
|
%{?suse_update_config:%{suse_update_config -f build}}
|
||||||
@ -349,6 +351,8 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 09 2008 - rhafer@suse.de
|
||||||
|
- Fixed allocation for paged results cookie (Bug #352255, ITS#5315)
|
||||||
* Fri Dec 14 2007 - rhafer@suse.de
|
* Fri Dec 14 2007 - rhafer@suse.de
|
||||||
- Update to Version 2.4.7. Most important changes:
|
- Update to Version 2.4.7. Most important changes:
|
||||||
* Added slapd ordered indexing of integer attributes (ITS#5239)
|
* Added slapd ordered indexing of integer attributes (ITS#5239)
|
||||||
|
Loading…
Reference in New Issue
Block a user