From diego.jesus.granados.lopez@ericsson.com Mon Apr 18 07:23:41 2011 From: diego.jesus.granados.lopez@ericsson.com To: openldap-bugs@openldap.org Subject: (ITS#6909) Date: Mon, 18 Apr 2011 07:23:40 +0000 Message-ID: <201104180723.p3I7NedF060281@boole.openldap.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4045585166535456470==" --===============4045585166535456470== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit --_000_7A5601613D0AF042A5EDA8C8A7AA805D0E3E82C53DESESSCMS0356e_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable It was difficult to achieve, but I was able to include several errors (rega= rding line numbers) in my two-line patch XD The correct one: --- ../../origtmp/openldap-2.4.21/servers/slapd/back-meta/search.c 200= 9-08-14 22:54:14.000000000 +0200 +++ ./servers/slapd/back-meta/search.c 2011-04-15 13:11:51.395261000 +0200 @@ -309,6 +309,8 @@ if ( rc =3D=3D LDAP_SUCCESS ) { candidates[ candidate ].sr_msgid =3D META_M= SGID_IGNORE; + binddn =3D msc->msc_bound_ndn; + cred =3D msc->msc_cred; goto retry; } } Regards, Diego --_000_7A5601613D0AF042A5EDA8C8A7AA805D0E3E82C53DESESSCMS0356e_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
It was difficult to achieve, but I was able to include several errors = (regarding line numbers) in my two-line patch XD
 
The correct one:
 
--- ../../origtmp/openldap-2.4.21/servers/slapd/back-meta/search.c&nbs= p;     2009-08-14 22:54:14.000000000 +0200
+++ ./servers/slapd/back-meta/search.c  2011-04-15 13= :11:51.395261000 +0200
@@ -309,6 +309,8 @@
 
           &nbs= p;             = if ( rc =3D=3D LDAP_SUCCESS ) {
           &nbs= p;            &= nbsp;        candidates[ candidate ].sr_= msgid =3D META_MSGID_IGNORE;
+           = ;            &n= bsp;       binddn =3D msc->msc_bound_ndn;<= /div>
+           = ;            &n= bsp;       cred =3D msc->msc_cred;
           &nbs= p;            &= nbsp;        goto retry;
           &nbs= p;             = }
           &nbs= p;     }
 
 
Regards,
Diego
 
--_000_7A5601613D0AF042A5EDA8C8A7AA805D0E3E82C53DESESSCMS0356e_-- --===============4045585166535456470==--