1
0
forked from pool/openldap2
OBS User unknown 2008-08-29 23:03:33 +00:00 committed by Git OBS Bridge
parent d463ab647f
commit c9f81dd071
6 changed files with 62 additions and 4 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:15df0033de48dd895e7c01da77f98848e23218fa109ecbedb789229d59dad459 oid sha256:a1a0de4fe8c80b0210a706a9e8313b3c2f8b72b2de88961acf433a4e09752a4f
size 3227 size 3480

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 28 11:46:08 CEST 2008 - rhafer@suse.de
- added ldapns.schema , to allow to use pam_ldap's "check_host_attr"
and "check_service_attr" features (bnc#419984)
- backport overlay_register_control fix from HEAD (bnc#420016,
ITS#5649)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 18 18:10:07 CEST 2008 - mrueckert@suse.de Mon Aug 18 18:10:07 CEST 2008 - mrueckert@suse.de

View File

@ -42,7 +42,7 @@ Summary: OpenLDAP Client Utilities
%endif %endif
AutoReqProv: on AutoReqProv: on
Version: 2.4.11 Version: 2.4.11
Release: 15 Release: 19
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
@ -60,6 +60,7 @@ Patch6: libldap-gethostbyname_r.dif
Patch7: pie-compile.dif Patch7: pie-compile.dif
Patch8: slapd_getaddrinfo_dupl.dif Patch8: slapd_getaddrinfo_dupl.dif
Patch9: openldap2-add-gnu-source.diff Patch9: openldap2-add-gnu-source.diff
Patch10: slapd-overlay_register_control.dif
Patch100: openldap-2.3.37.dif Patch100: openldap-2.3.37.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -162,6 +163,7 @@ Authors:
%endif %endif
%patch8 -p1 %patch8 -p1
%patch9 -p1 %patch9 -p1
%patch10
cp %{SOURCE5} . cp %{SOURCE5} .
cd ../openldap-2.3.37 cd ../openldap-2.3.37
%patch100 %patch100
@ -487,6 +489,11 @@ fi
%endif %endif
%changelog %changelog
* Thu Aug 28 2008 rhafer@suse.de
- added ldapns.schema , to allow to use pam_ldap's "check_host_attr"
and "check_service_attr" features (bnc#419984)
- backport overlay_register_control fix from HEAD (bnc#420016,
ITS#5649)
* Mon Aug 18 2008 mrueckert@suse.de * Mon Aug 18 2008 mrueckert@suse.de
- remove outdated options in the fillup_and_insserv call - remove outdated options in the fillup_and_insserv call
* Mon Aug 18 2008 rhafer@suse.de * Mon Aug 18 2008 rhafer@suse.de

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 28 11:46:08 CEST 2008 - rhafer@suse.de
- added ldapns.schema , to allow to use pam_ldap's "check_host_attr"
and "check_service_attr" features (bnc#419984)
- backport overlay_register_control fix from HEAD (bnc#420016,
ITS#5649)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 18 18:10:07 CEST 2008 - mrueckert@suse.de Mon Aug 18 18:10:07 CEST 2008 - mrueckert@suse.de

View File

@ -42,7 +42,7 @@ Summary: The OpenLDAP Server
%endif %endif
AutoReqProv: on AutoReqProv: on
Version: 2.4.11 Version: 2.4.11
Release: 14 Release: 18
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
@ -60,6 +60,7 @@ Patch6: libldap-gethostbyname_r.dif
Patch7: pie-compile.dif Patch7: pie-compile.dif
Patch8: slapd_getaddrinfo_dupl.dif Patch8: slapd_getaddrinfo_dupl.dif
Patch9: openldap2-add-gnu-source.diff Patch9: openldap2-add-gnu-source.diff
Patch10: slapd-overlay_register_control.dif
Patch100: openldap-2.3.37.dif Patch100: openldap-2.3.37.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -165,6 +166,7 @@ Authors:
%endif %endif
%patch8 -p1 %patch8 -p1
%patch9 -p1 %patch9 -p1
%patch10
cp %{SOURCE5} . cp %{SOURCE5} .
cd ../openldap-2.3.37 cd ../openldap-2.3.37
%patch100 %patch100
@ -490,6 +492,11 @@ fi
%endif %endif
%changelog %changelog
* Thu Aug 28 2008 rhafer@suse.de
- added ldapns.schema , to allow to use pam_ldap's "check_host_attr"
and "check_service_attr" features (bnc#419984)
- backport overlay_register_control fix from HEAD (bnc#420016,
ITS#5649)
* Mon Aug 18 2008 mrueckert@suse.de * Mon Aug 18 2008 mrueckert@suse.de
- remove outdated options in the fillup_and_insserv call - remove outdated options in the fillup_and_insserv call
* Mon Aug 18 2008 rhafer@suse.de * Mon Aug 18 2008 rhafer@suse.de

View File

@ -0,0 +1,28 @@
Index: servers/slapd/backover.c
===================================================================
RCS file: /repo/OpenLDAP/pkg/ldap/servers/slapd/backover.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- servers/slapd/backover.c 12 Jul 2008 09:53:49 -0000 1.87
+++ servers/slapd/backover.c 9 Aug 2008 08:11:41 -0000 1.88
@@ -1063,7 +1063,7 @@
/* add to all backends... */
LDAP_STAILQ_FOREACH( bd, &backendDB, be_next ) {
- if ( be == bd ) {
+ if ( bd == be->bd_self ) {
gotit = 1;
}
@@ -1074,8 +1074,8 @@
}
if ( !gotit ) {
- be->be_ctrls[ cid ] = 1;
- be->be_ctrls[ SLAP_MAX_CIDS ] = 1;
+ be->bd_self->be_ctrls[ cid ] = 1;
+ be->bd_self->be_ctrls[ SLAP_MAX_CIDS ] = 1;
}
return 0;