Hello community, here is the log from the commit of package openldap2 checked in at Sat Aug 30 01:03:31 CEST 2008. -------- --- openldap2/openldap2.changes 2008-08-18 18:10:08.000000000 +0200 +++ openldap2/openldap2.changes 2008-08-28 11:49:30.000000000 +0200 @@ -1,0 +2,8 @@ +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) + +------------------------------------------------------------------- openldap2-client.changes: same change New: ---- slapd-overlay_register_control.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openldap2-client.spec ++++++ --- /var/tmp/diff_new_pack.V15256/_old 2008-08-30 01:02:12.000000000 +0200 +++ /var/tmp/diff_new_pack.V15256/_new 2008-08-30 01:02:12.000000000 +0200 @@ -42,7 +42,7 @@ %endif AutoReqProv: on Version: 2.4.11 -Release: 15 +Release: 19 Source: openldap-%{version}.tar.bz2 Source1: openldap-rc.tgz Source2: addonschema.tar.gz @@ -60,6 +60,7 @@ Patch7: pie-compile.dif Patch8: slapd_getaddrinfo_dupl.dif Patch9: openldap2-add-gnu-source.diff +Patch10: slapd-overlay_register_control.dif Patch100: openldap-2.3.37.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -162,6 +163,7 @@ %endif %patch8 -p1 %patch9 -p1 +%patch10 cp %{SOURCE5} . cd ../openldap-2.3.37 %patch100 @@ -487,6 +489,11 @@ %endif %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 - remove outdated options in the fillup_and_insserv call * Mon Aug 18 2008 rhafer@suse.de ++++++ openldap2.spec ++++++ --- /var/tmp/diff_new_pack.V15256/_old 2008-08-30 01:02:12.000000000 +0200 +++ /var/tmp/diff_new_pack.V15256/_new 2008-08-30 01:02:12.000000000 +0200 @@ -42,7 +42,7 @@ %endif AutoReqProv: on Version: 2.4.11 -Release: 14 +Release: 18 Source: openldap-%{version}.tar.bz2 Source1: openldap-rc.tgz Source2: addonschema.tar.gz @@ -60,6 +60,7 @@ Patch7: pie-compile.dif Patch8: slapd_getaddrinfo_dupl.dif Patch9: openldap2-add-gnu-source.diff +Patch10: slapd-overlay_register_control.dif Patch100: openldap-2.3.37.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -165,6 +166,7 @@ %endif %patch8 -p1 %patch9 -p1 +%patch10 cp %{SOURCE5} . cd ../openldap-2.3.37 %patch100 @@ -490,6 +492,11 @@ %endif %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 - remove outdated options in the fillup_and_insserv call * Mon Aug 18 2008 rhafer@suse.de ++++++ addonschema.tar.gz ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/ldapns.schema new/ldapns.schema --- old/ldapns.schema 1970-01-01 01:00:00.000000000 +0100 +++ new/ldapns.schema 2008-08-28 11:44:01.000000000 +0200 @@ -0,0 +1,23 @@ +# $Id: ldapns.schema,v 1.3 2003/05/29 12:57:29 lukeh Exp $ + +# LDAP Name Service Additional Schema + +# http://www.iana.org/assignments/gssapi-service-names + +attributetype ( 1.3.6.1.4.1.5322.17.2.1 NAME 'authorizedService' + DESC 'IANA GSS-API authorized service name' + EQUALITY caseIgnoreMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) + +objectclass ( 1.3.6.1.4.1.5322.17.1.1 NAME 'authorizedServiceObject' + DESC 'Auxiliary object class for adding authorizedService attribute' + SUP top + AUXILIARY + MAY authorizedService ) + +objectclass ( 1.3.6.1.4.1.5322.17.1.2 NAME 'hostObject' + DESC 'Auxiliary object class for adding host attribute' + SUP top + AUXILIARY + MAY host ) + ++++++ slapd-overlay_register_control.dif ++++++ 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; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org